How to clear all interned lines in linqpad?
In this example:
string s = new string(new []{'a','s','d'});
Console.WriteLine (string.IsInterned(s));
He always returns nullthat good.
But as soon as I do not notice the first line, it always gives "asd", even if I repeat it again.
It seems the only solution is to close the program and run it again.
ps: in visual studio, it always returns the desired results (console mode).
source
share