summaryrefslogtreecommitdiffstats
path: root/testing/066_property_initializer.cs
blob: d5b5c59b98980e2d3fb13efba692e6ff8d9eedd1 (plain)
1
2
3
4
5
6
7
// objective: C# property initializer
// check: class_class1.xml
class Class1
{
  public int Property1 { get; } = 1;
  public string Property2 { get; set; }
}