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