Is there a way to String.Format a message without having to specify {1}, {2}, etc? Is it possible to have some form of auto-increment? (Similar to plain old printf)
Is there a way to String.Format a message without having to specify {1}, {2},
Share
Afraid not — where would it put the objects into the string? Using printf, you still need to put specifiers in somewhere.