I am new in C# that's why I am struggling with basic concepts.
I have created multiple classes in one project under one namespace out which one class is having Main() and other classes don't have. Now I want to use other classes inside one class.
I am not getting it that how I can import all the classes inside one class and call their functions by creating objects inside Main() of a class.
Like in Java we used to do import packagename.ClassName;
In c# how to do the same?
Suppose I have one project named UseOfMultipleClasses. It has one class file named Program.cs which is having Main(). Now I have created 2 more classes Add.cs is having addnum() function and subtract.cs is having subnum(). I want to call these two function inside Main() of Program class. How to do it?