Click here to Skip to main content
11,922,641 members (56,440 online)

Comments by Mike Barthold (Top 3 by date)

Mike Barthold 30-Sep-15 12:39pm View
Did you change the target framework to 4.6? Or still at 4.5?
Mike Barthold 11-Aug-15 15:58pm View
Reason for my vote of 3 \n A bit deep into win32 api for my taste, as it is a matter of a few minutes with wcf/pipes or plain pipes in .net

even a localhost udp would be a matter of less than 20 lines of code if you do not want to use pipes for whatever reason (but that would let the local firewall popup a dialog so it's not the way to go imho - users would ask what the program is sending... no need for that).

as a matter of compliance/code analysis -> microsoft recommended rules tell you to put those invoke declarations in a class named NativeMethods, SafeNativeMethods or UnsafeNativeMethods.

see rule CA1060
and the attributes assigned to those classes - so consider to place them properly.

BR mike
Mike Barthold 5-May-15 2:07am View
Reason for my vote of 5 \n Good read - I agree with most of your statements.

I only would add that XML Comments that are only auto-generated (by GhostDoc for example) and not even grammar-correct can also be a mess if the developer has nothing more to say.

But even I try to comment 100% of the public visible properties for the sake of tooltips and intellisense. (And I *do* generate my wiki pages from the xml-comments so mine are often more content-intensive and contain all the and tags and even :)

But I have seen many bad examples for xml-doc too out there...
If you comment something, the DO IT RIGHT. not half-hearted.

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