Answers for "c# class in class call example"

C#
1

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();
    }
}
Posted by: Guest on September-30-2020

C# Answers by Framework

Browse Popular Code Answers by Language