title: Array of structs example
body: <p>i am bit new to structs in c#..</p>
  
  <p>My question says:</p>
  
  <blockquote>
    <p>Write a console application that receives the following information for a set of students:
    studentid, studentname, coursename, date-of-birth..
    The application should also be able to display the information being entered..
    Implement this using structs..</p>
  </blockquote>
  
  <p>I have come up till this--></p>
  
  <pre><code>struct student
  {
      public int s_id;
      public String s_name, c_name, dob;
  }
  class Program
  {
      static void Main(string[] args)
      {
          Console.WriteLine("Please enter StudentId, StudentName, CourseName, Date-Of-Birth");
          s_id = Console.ReadLine();
          s_name = Console.ReadLine();
          c_name = Console.ReadLine();
          s_dob = Console.ReadLine();
          student[] arr = new student[4];
      }
  }
  </code></pre>
  
  <p>Please help me after this..</p>