machan you have included a inner class Minus inside Test i think that wouldnt have been necessary or correct syntax in C# (itz possible in java though) ,
you could have seprate classes for addition and subtsractions etc if you want :)
this works ! i modified it
class Program
{
public static int i, j;
public static void Main()
{
Console.Write("Please Enter The First Number :");
string temp = Console.ReadLine();
i = Int32.Parse(temp)...
This method also works:cool: using global static variables
namespace ConsoleApplication1
{
class Program
{
public static int i, j;
public static void Main(string[] args)
{
Console.Write("Please Enter The First Number :");
string temp =...
itz simple approach ! for you hav used static methods , pass the specified values to the redfinied Add method
namespace ConsoleApplication1
{
class Program
{
public static void Main(string[] args)
{
Console.Write("Please Enter The First Number...