Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# how to call methods from another class

public class AllMethods
{
    public static void Method2()
    {
        // code here
    }
}

class Caller
{
    public static void Main(string[] args)
    {
        AllMethods.Method2();
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #call #methods #class
ADD COMMENT
Topic
Name
6+1 =