/// <summary> /// Tests Lists.cs /// </summary> public static void Lists() { Lists l = new Lists(); l.CreateIntList(); l.CreateStringList(); l.CreateClassList(); l.AddToList("this string added to string list"); l.RemoveFromList(4); }
static void Main(string[] args) { Console.WriteLine("Single Responsability:"); Student student = new Student("Dani", "Test"); List <Student> students = new List <Student>(); students = Lists <Student> .AddToList(students, student); Console.ReadLine(); Console.WriteLine("Go to Single Responsability!"); Console.WriteLine("Go to Single Responsability!"); Console.WriteLine("Go to Single Responsability!"); Console.ReadLine(); }