Open nataren opened 8 years ago
Good: string.Format("hello {0}!", "world"); Bad: string.Format("hello {1}!", "world");
string.Format("hello {0}!", "world");
string.Format("hello {1}!", "world");
Good: string.Format("hello {0}!", "world"); Bad: string.Format("hello {0} {1}!", "world");
string.Format("hello {0} {1}!", "world");
Resharper already does this.
Good:
string.Format("hello {0}!", "world");
Bad:string.Format("hello {1}!", "world");