How can I clear all interned strings in linqpad?
Looking at this example :
//var asd="asd";
string s = new string(new []{'a','s','d'});
Console.WriteLine (string.IsInterned(s));
It always return null
, which is fine.
But once I un-remark the first line it always yield "asd"
even if I remark it again.
It seems that the only solution is to close the program and start it again.
p.s. : in visual studio it's always returns the desired results (console mode).