what would be the difference between this
class Class1
{
public string prop1 { get; set; }
public string prop2 { get; set; }
public string prop3 { get; set; }
public string prop4 { get; set; }
}
and this
class Class2
{
public string var1;
public string var2;
public string var3;
public string var4;
}
when executing a LINQ query with
... select new Class1{...}
... select new Class2{...}