using System.Collections.Generic;
using System.Threading.Tasks;
public static void Main(string[] args)
List<Students> slist = new List <Students>();
char n=Convert.ToChar(Console.ReadLine());
slist.Add(StudentsInfo());
Console.WriteLine("Would you like to Continue.. Y/N");
private static Students StudentsInfo()
Students s = new Students();
Console.WriteLine("Enter the Name :");
s.Name = Console.ReadLine();
Console.WriteLine("Enter the RollNo :");
s.RollNum = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the English_mark :");
s.Eng_mark = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the Language_mark :");
s.lang_mark = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the Maths_mark :");
s.math_mark = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the Science_mark :");
s.sci_mark = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the Social_mark :");
s.soc_mark = Convert.ToInt32(Console.ReadLine());