diff --git a/docs/csharp/language-reference/keywords/codesnippet/CSharp/interface_2.cs b/docs/csharp/language-reference/keywords/codesnippet/CSharp/interface_2.cs index c2718c1f55b0c..f6ca306233dfa 100644 --- a/docs/csharp/language-reference/keywords/codesnippet/CSharp/interface_2.cs +++ b/docs/csharp/language-reference/keywords/codesnippet/CSharp/interface_2.cs @@ -63,9 +63,9 @@ static void PrintPoint(IPoint p) static void Main() { - Point p = new Point(2, 3); + IPoint p = new Point(2, 3); Console.Write("My Point: "); PrintPoint(p); } } - // Output: My Point: x=2, y=3 \ No newline at end of file + // Output: My Point: x=2, y=3