Skip to content

Commit e5c41ee

Browse files
shethaaditAdit Sheth
andauthored
Fixed bug 43711. (#43774)
Co-authored-by: Adit Sheth <[email protected]>
1 parent f22c6c3 commit e5c41ee

File tree

1 file changed

+3
-1
lines changed
  • docs/csharp/programming-guide/classes-and-structs/snippets/partial-classes-and-methods

1 file changed

+3
-1
lines changed

docs/csharp/programming-guide/classes-and-structs/snippets/partial-classes-and-methods/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ public partial class Employee
44
{
55
public void DoWork()
66
{
7+
Console.WriteLine("Employee is working.");
78
}
89
}
910

@@ -12,6 +13,7 @@ public partial class Employee
1213
{
1314
public void GoToLunch()
1415
{
16+
Console.WriteLine("Employee is at lunch.");
1517
}
1618
}
1719

@@ -181,4 +183,4 @@ public partial class PropertyBag
181183
public partial int MyProperty { get => field; set; }
182184
}
183185

184-
// </FieldProperty>
186+
// </FieldProperty>

0 commit comments

Comments
 (0)