I read on a blog that C# 7 will feature record types
class studentInfo(string StudentFName, string StudentMName, string StudentLName);
However
There is a way if you're looking for record-like, lazy way of implementing constructors using currently available C# 7 functionality:
class Lazystructor
{
int a;
float b;
WebClient c;
public Lazystructor(int a, float b, WebClient c)
=> (this.a, this.b, this.c) = (a, b, c);
}
A bit of consideration if you're using this on a performance-sensitive scenario, as it's a process of ValueTuple creation and extraction.