Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to populate list in c#

var list = new List<IMyCustomType>{ 
    new MyCustomTypeOne(), 
    new MyCustomTypeTwo(), 
    new MyCustomTypeThree() 
};
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #populate #list
ADD COMMENT
Topic
Name
2+4 =