static void Main(string[] args) { Snippet_11.StudentDetails objStudent = new Snippet_11.StudentDetails(); ScoreReport objReport = new ScoreReport(); Console.WriteLine("Subject: " + objReport.Subject); Console.WriteLine("Mark: " + objReport.Marks); }
static void Display() { Students.StudentDetails st = new Students.StudentDetails(); ScoreReport objReport = new ScoreReport(); Console.WriteLine("Subject: " + objReport.Subject); Console.WriteLine("Marks: " + objReport.Marks); }
static void Main(string[] args) { StudentDetail s = new StudentDetail(); ScoreReport c = new ScoreReport(); Console.WriteLine("Student subject: " + c.subject); Console.WriteLine("Student mark: " + c.mark); }
static void Main(string[] args) { Student.StudentDetails obj = new Student.StudentDetails(); ScoreReport obj1 = new ScoreReport(); Console.WriteLine("Subject: " + obj1.Subject); Console.WriteLine("Marks: " + obj1.Marks); }
static void Main(string[] args) { Students.StudentDetails studentDetails = new Students.StudentDetails(); ScoreReport objReport = new ScoreReport(); Console.WriteLine("Subject : " + objReport.Suject); Console.WriteLine("MarkS : " + objReport.Marks); Console.ReadKey(); }