What state is saved between rerunning queries in Linqpad?
问题 What state is saved between rerunning queries in Linqpad? I presumed none, so if you run a script twice it will have the same results both time. However run the C# Program below twice in the same Linqpad tab. You'll find the first it prints an empty list, the second time a list with the message 'hey'. What's going on? System.ComponentModel.TypeDescriptor.GetAttributes(typeof(String)).OfType<ObsoleteAttribute>().Dump(); System.ComponentModel.TypeDescriptor.AddAttributes(typeof(String),new