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

Code Cleaning question

1 Answer 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 20 Jul 2012, 10:24 AM
This is how a bit of code I have appears after cleaning...

List<a> b = c.ToList()
        .ConvertAll<a>(
    delegate(d e)
    {
      return (a)e;
    });

Maybe it's just me, but it doesn't feel right.

I guess I was expecting something more like this ...
List<a> b = c.ToList()
        .ConvertAll<a>(
          delegate(d e)
          {
             return (a)e;
           });

What do you think?

--
Stuart

1 Answer, 1 is accepted

Sort by
0
Borislav
Telerik team
answered on 25 Jul 2012, 07:40 AM
Hi Stuart,

Thanks for reporting this issue. It is a known issue and it is pending for fixing. However there a few corner cases which we have to investigate and log before fixing.

Please stay tuned for our future releases.

Regards,
Borislav
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
General Discussions
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Borislav
Telerik team
Share this question
or