This is a migrated thread and some comments may be shown as answers.

Feature Request: Catching a poor FileInfo initializer

1 Answer 26 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ken Lassesen
Top achievements
Rank 2
Ken Lassesen asked on 12 Jan 2010, 03:28 PM
Another item added to my blog.

In short, if:
  • FileInfo(String.Format( ... ,or
  • FileInfo( stringA + stringB
is seen, the following recommendation should be suggested:
  • FileInfo(Path.Combine( ....)

1 Answer, 1 is accepted

Sort by
0
Tsviatko Yovtchev
Telerik team
answered on 13 Jan 2010, 11:04 AM
Hi Ken,

 This is a reasonable feature. However, the number of optimizations at this level makes it impossible for us to implement all of them while keeping our UI of reasonable size. 

Regards,
Tsviatko Yovtchev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Code Analysis
Asked by
Ken Lassesen
Top achievements
Rank 2
Answers by
Tsviatko Yovtchev
Telerik team
Share this question
or