Skip to content

Commit 5838cae

Browse files
Changed String to string. IDE0049
1 parent 259fed3 commit 5838cae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/csharp/System/String/Replace/string.replace1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class stringReplace1 {
44
public static void Main() {
55
//<snippet1>
6-
String str = "1 2 3 4 5 6 7 8 9";
6+
string str = "1 2 3 4 5 6 7 8 9";
77
Console.WriteLine("Original string: \"{0}\"", str);
88
Console.WriteLine("CSV string: \"{0}\"", str.Replace(' ', ','));
99

0 commit comments

Comments
 (0)