Answers for "Generic class deceleration and Instantiate .."

C#
0

Generic class deceleration and Instantiate ..

class DataStore<T>
{
    public T Data { get; set; }
}
// Instantiation of the generic class
DataStore<string> store = new DataStore<string>();
Posted by: Guest on September-02-2021

Code answers related to "Generic class deceleration and Instantiate .."

C# Answers by Framework

Browse Popular Code Answers by Language