summaryrefslogtreecommitdiffstats
path: root/testing/066_property_initializer.cs
blob: 57aeb5bac99e59564f9a4fbc9a3b14f3e6b65972 (plain)
1
2
3
4
5
6
7
8
9
// objective: C# property initializer
// check: class_class1.xml
///
/// Documentation of the class
class Class1
{
  public int Property1 { get; } = 1; ///< Documentation of first property
  public string Property2 { get; set; } ///< Documentation of second property
}