Skip to main content

Posts

Showing posts from December, 2014
Structure  is a user defined type which can contain different member ( variable , method and  property  etc).  Class  is  a user define type which can contain such type of member but there is some difference between structure and class. Now i am going to implement  structure and class in C#  after that i will show you exact difference between structure and class in  C# . There are some steps please follow them step by step which is given below. Step  1  First open your visual studio->File->New->project->console Application->OK->Now write the following code which is giv en below in  step 2. Step  2  structure   and class program code:- see it:- 01 using   System; 02 namespace   structure 03 { 04      class   Program 05      { 06          public   struct  ...