Created
April 23, 2022 23:50
-
-
Save MelbourneDeveloper/92f9caed0c5153728858400e1749a413 to your computer and use it in GitHub Desktop.
Bad String.Format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Globalization; | |
namespace CodeRulesExample; | |
public static class Program | |
{ | |
public static void Main() => | |
Console.WriteLine(string.Format(new CultureInfo("en-US"), "Hello {0}{1}!", "World")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment