using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication3
{
class Program
{
static void Main(string[] args)
{
Program p = new Program();
p.EvenNumbers();
int Sum = p.Add(10, 20);
Console.WriteLine(“Sum={0}”, Sum);
Console.ReadLine();
}
public int Add(int F ,int L)
{
return F + L;
}
public void EvenNumbers()
{
int start = 0;
while (start <= 20)
{
Console.WriteLine(start);
Console.ReadLine();
start = start + 2;
}
}
}
}