Вы находитесь на странице: 1из 1

/*************************************************************************

* Introduction to C# Methods Example


*
*************************************************************************/
using System;
namespace MyProject.Examples
{
class ExampleOne
{
public static void Main()
{

//ExampleOne eOne=new ExampleOne();


//eOne.sum();
ExampleOne.sum();
Console.ReadKey();
}

public static void sum()


{
int no1 = 364, no2 = 234;
int add = no1 + no2;
Console.WriteLine("Addition\t\t{0}", add);
}
}
}

Вам также может понравиться