static void Main(string[] args) { const string variable = "Constant"; string variable1 = Console.ReadLine(); var myVar = new Method1(variable, variable1); Console.ReadLine(); }
public static Method1 CreateMethodWithEndParams(string c, string d) { Method1 method = new Method1("", "", c, d); return(method); }