Wednesday, December 19, 2012

The magic of String.Format in fixing Fortify bugs.

lblFileBlurb.Text = String.Format("{0}",fileBlurb);

...is likely better than this...

lblFileBlurb.Text = fileBlurb;

(chuckle)

No comments:

Post a Comment