Wednesday 27 July 2016

C Sharp Constructure Tutorial

C# Constructure Program 

 class test
    {
        int a, b;
       
        public test(int x,int y)
        {
            a = x;
            b = y;
        }
        public test(int x)
        {
            a = b = x;

C Sharp Overriding Tutorial

C# Overriding Program

 class test
    {
        public void show()
        {
            Console.WriteLine("\nInside of test class\n");
        }
    }
    class best : test

C Sharp Properties Tutorial

C# Properties Program

 class test
    {
        int x;
        public int setX
        {
            get
            {
                return x;
            }
            set
            {

C Sharp String Tutorial

C# String Tutorial

 class Program
    {
        static void Main(string[] args)
        {
            String str;
            Console.Write("Enter your string>> ");
            str = Console.ReadLine();