示例#1
0
        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);
        }
示例#2
0
        static void Display()
        {
            Students.StudentDetails st        = new Students.StudentDetails();
            ScoreReport             objReport = new ScoreReport();

            Console.WriteLine("Subject: " + objReport.Subject);
            Console.WriteLine("Marks: " + objReport.Marks);
        }
示例#3
0
        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);
        }
示例#4
0
        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);
        }
示例#5
0
        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();
        }