Answers for "how to populate list in c#"

C#
0

how to populate list in c#

var list = new List<IMyCustomType>{ 
    new MyCustomTypeOne(), 
    new MyCustomTypeTwo(), 
    new MyCustomTypeThree() 
};
Posted by: Guest on September-02-2021

Code answers related to "how to populate list in c#"

C# Answers by Framework

Browse Popular Code Answers by Language