private static void boi() { Another another1 = new Another(); another1.stu(); another1.stu("Poland"); }
public Another() { Console.WriteLine("Write your Name: "); Name = Student.Imya(); Console.WriteLine("Write your Surname: "); Surname = Student.Imya(); Console.WriteLine("Write your Nationality: "); Nationality = Student.nation(); Console.WriteLine("Write your Age: "); Age = Student.age(); Console.WriteLine("Write your Weight: "); Weight = (int)Student.weight(); Console.WriteLine("Write your Height in m(for example 1,89): "); Height = (int)Student.height(); Console.WriteLine("Write your university: "); University = Another.university(); Console.WriteLine("Write your course: "); Course = Another.course(); Console.WriteLine("Write your speciality: "); Speciality = Another.university(); Console.WriteLine("Write the country in which you study: "); country = Another.university(); Console.WriteLine("How much money do you have?"); A = Console.ReadLine(); Console.WriteLine("How much money did you pay for your study?"); B = Console.ReadLine(); int.TryParse(A, out a); int.TryParse(B, out b); }
public Another() { Console.WriteLine("Write your university: "); University = Another.university(); Console.WriteLine("Write your course: "); Course = Another.course(); Console.WriteLine("Write your speciality: "); Speciality = Another.university(); Console.WriteLine("Write the country in which you study: "); country = Another.university(); }
public Another() { Console.WriteLine("Write your Name: "); Name = Student.Imya(); Console.WriteLine("Write your Surname: "); Surname = Student.Imya(); Console.WriteLine("Write your Nationality: "); Nationality = Student.nation(); Console.WriteLine("Write your Age: "); Age = Student.age(); Console.WriteLine("Write your Weight: "); Weight = (int)Student.weight(); Console.WriteLine("Write your Height in m(for example 1,89): "); Height = (int)Student.height(); Console.WriteLine("Write your university: "); University = Another.university(); Console.WriteLine("Write your course: "); Course = Another.course(); Console.WriteLine("Write your speciality: "); Speciality = Another.university(); Console.WriteLine("Write the country in which you study: "); country = Another.university(); }