Answers for "how to assign list int for method parameter in C#"

C#
16

C# list

List<string> myListOfStrings = new List<string> 
{
	"this",
	"is",
	"my",
	"list"
};
Posted by: Guest on August-05-2020
0

how to assign list int for method parameter in C#

object yourObject = System.Activator.CreateInstance(Type.getType("yourType"), myListOfString);
Posted by: Guest on April-14-2021

Code answers related to "how to assign list int for method parameter in C#"

C# Answers by Framework

Browse Popular Code Answers by Language