Using Array Class

Array Class serves as a base class of its type but we cannot create it object but we can create its instance. Array class provides various methods and properties which are very helpful in array manipulation.Following program demonstrate them.static void Main(string[] args){Array ar= Array.CreateInstance(typeof(string),3); //Create an Instance having String type 3 elementsar.SetValue(“India”,0); //Storing Element and [...]

Constructors, Inheritance

Constructors : Default and Parametrized class Account { private int actno; private string aname; private string atype; private double abalance; //Default Constructor public Account() { atype = “Saving”; abalance = 1000.00; } //Parameterized Constructor public Account(int no, string name, string type) { actno = no; aname = name; atype = type; } // Deposit public [...]

ई-मेल स्पैमिंग

Arryas, Boxing-Unboxing, Classes and Properties in C#

1. Multi Dimensional Arrays- 2D and Jagged Arraysstatic void Main(string[] args){//2D Arrayint[,] a;a = new int[2, 2];a[0, 0] = 5;a[0, 1] = 10;a[1, 0] = 7;a[1, 1] = 12; foreach (int i in a){Console.Write(i);}Console.WriteLine();//Jagged ArraysConsole.WriteLine(“——————-”);int[][] a2;a2 = new int[3][];a2[0] = new int[5] { 1,2,3,4,5 };a2[1] = new int[2] { 1, 2 };a2[2] = new int[3] [...]

My New Blog on C#

Please visit http://programingcsharp.blogspot.comExclusively on C# Programing

Starting C#

C# is robust, object oriented strongly typed programing language built to efficiently work with .Net platform. Some features of C# are1. Strongly typed language : This means that in C# every thing is a type.2. Automatic Garbage Collection through Garbage Collector 3. Pure Object Oriented Language4. Supports variety of data types categorizes them into Value [...]

Some usefull links

To download Visual Studio Express Edition’s Components like C# Express, Visual Web Developer etc Free of Charge athttp://www.microsoft.com/express/ Open Source .Net Development Software and Information1. Mono Project visit http://www.mono-project.com2. DotGnuvisit http://www.dotgnu.com 3. Sharp Develop IDEvisit http://www.sharpdevelop.com

Unknown Coin

Ruler and Dynasty Unknown Wt – 16 gms Size 1.8 X 1.5 cms Metal: Copper Alloys

सायबर अपराध और सायबर ठग

सूचना प्रोद्योगिकी के युग मैं अपराधिक मानसिकता के व्यक्ति और सायबर ठग अपने नए – नए रूपों मैं प्रकट हो रहे हैं । यह सायबर ठग न केवल साधारण नागरिक बल्कि राज्य और केन्द्र शासन को चुना लगाने मैं पीछे नही हैं । आईटी एक्ट की पूरी जानकारी नही होने के कारणऔर उसके सही रूप [...]

Unknown Coins

Unknown Coin Wt – 20gms Metal – Copper Diameter – 2.2 cms

Follow

Get every new post delivered to your Inbox.