Skip to content

Commit f55928d

Browse files
author
Ron Petrusha
authored
Merge pull request dotnet#2932 from svick/patch-4
Improve formatting of properties in base-and-derived.cs
2 parents fa2e5ec + e6447f0 commit f55928d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samples/snippets/csharp/tutorials/inheritance/base-and-derived.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ public Publication(string title, string publisher, PublicationType type)
3535

3636
public string CopyrightName { get; private set; }
3737

38-
public int CopyrightDate
39-
{ get; private set; }
38+
public int CopyrightDate { get; private set; }
4039

4140
public int Pages
42-
{ get { return totalPages; }
41+
{
42+
get { return totalPages; }
4343
set
4444
{
4545
if (value <= 0)

0 commit comments

Comments
 (0)