Click here to Skip to main content
12,751,650 members (31,590 online)

Comments by Reto Ravasio (Top 8 by date)

Reto Ravasio 22-Oct-11 3:52am View
you're right, but the code above could be used to send ctrl-A, ctrl-C to the application. This might work for some applications.
Reto Ravasio 13-Oct-11 19:19pm View
I think the functions name is wrong. It's not returning an open port, the function is returning the first free port from a given range and should be named accordingly.
Reto Ravasio 13-Oct-11 8:57am View
why not use explorer?
Reto Ravasio 11-Oct-11 15:27pm View
You're right that it compiles but what would you do with the old method? If you leave it, intelisense will show you two methods and when you remove it it could be considered a breaking change because without the new namespace old code will not compile. I'm sure they had some discussions about this at Microsoft before they released .NET3.5. Whichever way they decide, there are always people not happy with the outcome. Overall I think they did an excellent job with the BCL.
Reto Ravasio 8-Oct-11 4:45am View
I agree but how could they have prevented that situation? Lists ForEach was introduced in .NET2 while all the Linq stuff came much later in 3.5.
Reto Ravasio 8-Oct-11 4:22am View
Actually the original version should be around ~156 characters because the two template arguments <student> are not needed.
Reto Ravasio 31-Aug-11 17:42pm View
thanks, appreciate that
Reto Ravasio 28-Aug-11 3:14am View
VS2010 uses C#4 by default but you can tell it to use another version. (Properties/Application/Target framework)

Advertise | Privacy | Mobile
Web02 | 2.8.170215.1 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid