static void Main() { program m = new program(); serial sr = new serial(); // Uncoment if .dat file is empty Collection <Contact> startPb = new Collection <Contact>(); startPb.Add(new Contact("Ilya", "Bondar", "12312412532", "asdasd@gmail,com")); sr.serialisation(startPb); m.consoleUI(); }