Skip to content

Commit cb27394

Browse files
authored
Update RectExample.cs
Correct typo
1 parent 29242e3 commit cb27394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/csharp/System.Windows/Rect/Overview/RectExample.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public RectExample()
2323
// 150 wide. The left side of the rectangle is 10 pixels from the left of the
2424
// Canvas and the top side of the rectangle is 100 pixels from the top of the Canvas.
2525
// Note: You could alternatively use the Rect Constructor to create this:
26-
// Rect my Rect1 = new Rect(10,100,150,100");
26+
// Rect myRect1 = new Rect(10,100,150,100");
2727
Rect myRect1 = new Rect();
2828
myRect1.X = 10;
2929
myRect1.Y = 100;

0 commit comments

Comments
 (0)