I read on a blog that C# 7 will feature record types
class studentInfo(string StudentFName, string StudentMName, string StudentLName);
However
C# 9 now contains record types.
public record Person
{
public string LastName { get; }
public string FirstName { get; }
public Person(string first, string last) => (FirstName, LastName) = (first, last);
}
Record types are not (yet) implemented in C#. See the proposal in the official GitHub repository:
https://github.com/dotnet/csharplang/blob/master/proposals/records.md
Discuss or vote at https://github.com/dotnet/csharplang/issues/39