Wednesday, 27 July 2016

Vb Net One Dimentional array

VB.NET One Dimentional  Array

        Dim ar(4) As Integer
        For i = 0 To 4
            Console.Write("Enter {0} 'st number>> ", i + 1)
            ar(i) = Val(Console.ReadLine())
        Next
        For i = 0 To 4
            Console.Write(" {0},", ar(i))
        Next

More Example

C Sharp Visibility Mode Tutorial

C# Visibility Mode Program

class test
    {
         int a;
        protected int b;
        public test(int a,int b)
        {
            this.a = a;
            this.b = b;
        }
        public test()
        {

C Sharp Interface Tutorial

C# Interface Program

/* Error Code Attemt to multiple inheritance
     class a
    {
    }
    class b
    {
    }
    class c:a :b

C Sharp Inheritance Tutorial

C# Inheritance Program 

 class test
    {
       
        public void show()
        {
            Console.WriteLine("\nTest Calss");
        }
    }