Skip to content

Commit

Permalink
Changed String to string. IDE0049
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadzakriashahid committed Sep 10, 2024
1 parent 259fed3 commit 5838cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/csharp/System/String/Replace/string.replace1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class stringReplace1 {
public static void Main() {
//<snippet1>
String str = "1 2 3 4 5 6 7 8 9";
string str = "1 2 3 4 5 6 7 8 9";
Console.WriteLine("Original string: \"{0}\"", str);
Console.WriteLine("CSV string: \"{0}\"", str.Replace(' ', ','));

Expand Down

0 comments on commit 5838cae

Please sign in to comment.