|
namespace Associaton
{
using System;
using System.Collections.Generic;
/// <summary>
/// TODO: Update summary.
/// </summary>
public class Teacher
{
public string aTeacher = string.Empty;
public Teacher(string teacherName)
{
aTeacher = teacherName;
}
public void Associaton(IList<Student> students)
{
Console.WriteLine("Following are the students");
foreach (var student in students)
{
Console.WriteLine(student.aStudent);
}
Console.WriteLine("associated with a teacher " + aTeacher);
Console.WriteLine();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Amey K Bhatkar, a “Microsoft .Net” Web Developer.
I am programmer by will and profession.
I have completed my MCA in 2011 and join software industry.
Presently I am working with Lion Bridge Technologies in Mumbai - India