Update src/Chapter07/Listing07.19.TypeCheckingWithIsOperator.cs
MODIFY
src/Chapter07/Listing07.19.TypeCheckingWithIsOperator.cs
src/Chapter07/Listing07.19.TypeCheckingWithIsOperator.cs
@@ -32,7 +32,7 @@ public class Employee : Person
public class Program
{
- static object? GetObjectById(string id)
+ private static object? GetObjectById(string id)
{
#region EXCLUDE
if(id is null) throw new ArgumentNullException("id");

Update src/Chapter07/Listing07.19.TypeCheckingWithIsOperator.cs

Co-authored-by: Kevin B <Keboo@users.noreply.github.com>