Expand|Select|Wrap|Line Numbers
- struct info
- {
- string name, ID;
- double GPA;
- };
- static void Main(string[] args)
- {
- info[] student=new info [5];
- Console.WriteLine("Enter the data : ");
- for (int i = 0; i < 5; i++)
- {
- student[i] = Console.ReadLine();
- }
("Cannot implicitly convert type 'string' to 'ass.Program.info[]' ")
can i know what's the error about this code