diff options
Diffstat (limited to 'testing/066_property_initializer.cs')
-rw-r--r-- | testing/066_property_initializer.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/066_property_initializer.cs b/testing/066_property_initializer.cs new file mode 100644 index 0000000..d5b5c59 --- /dev/null +++ b/testing/066_property_initializer.cs @@ -0,0 +1,7 @@ +// objective: C# property initializer +// check: class_class1.xml +class Class1 +{ + public int Property1 { get; } = 1; + public string Property2 { get; set; } +} |