public class ClassA { public void MethodB() { CLassB obj = new CLassB(); string[] array = {"one","two","three"}; obj.MethodA(array); } } public class CLassB { public void MethodA(string[] arrayparameter) { } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)