We all know Struct is value type. If we see below struct it contains 2 field members one integer and another is string. We also know string is reference type. So, how following struct is value type?
struct Student
{
public int Roll_no;
public string Name;
}
Student student = new Student();
student.Roll_no = 1;
student.Name = "Manas";