c# how to initialize a list model with values code example
Example: instantiate list with values c#
var list = new List<string> {
"test1",
"test2",
"test3"
};
var list = new List<string> {
"test1",
"test2",
"test3"
};