Suggestion: string.Format warining

Thread is closed for posting
2 posts, 0 answers
  1. miksh
    miksh avatar
    277 posts
    Member since:
    Nov 2006

    Posted 14 Jan 2011 Link to this post

    It would great if JustCode warns about not matching number of parameters in string.Format when the formatting template is an explicit string. E.g.

    string.Format("The only one parameter {0} is expected.", param1, param2);
  2. Deyan Varchev
    Deyan Varchev avatar
    150 posts

    Posted 03 Feb 2011 Link to this post

    Hello Michael,

     Thanks for sending this suggestion. It's a great idea and we'll definitely consider implementing it in the near future. I've granted you some Telerik points to compensate you for the efforts.

    Best wishes,
    the Telerik team
    Browse the videos here>> to help you get started with JustCode
Back to Top