using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace math { public class AddClass { public static int Add(int x,int y) { return(x+y); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using math; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int a = 2, b = 3; int add = AddClass.Add(a , b); Console.WriteLine("total", add); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)