Skip to content

Commit

Permalink
Changed casing and added elipses
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkMichaelis committed Sep 24, 2023
1 parent 3c1817c commit 2a9723f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/Chapter07/Listing07.01.DerivingOneClassFromAnother.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ public class Contact : PdaItem
{
public string? Address { get; set; }
public string? Phone { get; set; }

// ...
}
#endregion INCLUDE
10 changes: 5 additions & 5 deletions src/Chapter07/Listing07.05.DefiningCastOperators.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_05;

#region INCLUDE
class GPSCoordinates
class GpsCoordinates
{
// ...

public static implicit operator UTMCoordinates(
GPSCoordinates coordinates)
public static implicit operator UtmCoordinates(
GpsCoordinates coordinates)
{
#region EXCLUDE
return null!; //return the new UTMCoordinates object
return null!; //return the new UtmCoordinates object
#endregion EXCLUDE
}
}
#endregion INCLUDE

class UTMCoordinates
class UtmCoordinates
{

}

0 comments on commit 2a9723f

Please sign in to comment.