News for hackers. Stuff that matters.
Re:How generics were added to .NET by eterm on Tuesday March 06, 2018 @05:26AM (#16528002)
Testing this, it doesn't throw in C#, it just doesn't compile because you can't declare a variable to be a List without declaring the type with it. If you specify myList as List<String> then it still doesn't compile.
Re:How generics were added to .NET by tehlike on Tuesday March 06, 2018 @09:31AM (#16529047)
For c#, try compiling with IList instead of list.

IList myList = new List<String>(); myList.add(new Object());