In .NET 3.5 or 4.0 I can use this (just an example):
var d = ("D").ToArray();
But the same doesn't work in 2.0 because there is no ToArray()
method. How can I "convert" this code to .NET 2.0? I am using WinForms.
List<T>.ToArray()
is a .NET 2.0 method.