using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication13
{
class obj
{
public int show(int a,int b)
{
int c = a + b;
return c;
}
public static void Main (String []args)
{
obj ob=new obj();
int d=ob.show(5,10);
Console.WriteLine("the sum is " + d);
}
}
}
No comments:
Post a Comment