Discussion on:

2
Comments

Join the conversation!

Follow via:
RSS
Email Alert
complete resource of string.format function in vb.net is available at the below mentioned link:
http://bitsbyta.blogspot.com/2010/12/string.html
If you use FxCop, you'll get lots of globalisation warnings.

On full rules it will want you to make your lieratls resources or constants as well.
Another thing you might want to look at, is passing format specifiers to ToString instead, If you do a lot of it.
String.Concat("Total : ", SomeNumber.ToString(CultureInfo.CurrentUICulture));
for instance
And for really long complicated ones, use the StringBuilder class.
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.