CLASS

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication4
{
class Program
{
class CLASSA
{
int a = 5, b = 5, c;
public void add()
{
c = a + b;
Console.WriteLine(c);
}
}
static void Main(string[] args)
{
CLASSA a1 = new CLASSA();
a1.add();
Console.ReadKey();
}
}
}


No comments:

Post a Comment