Harri's profilePainKiller´s C# CornerBlogListsNetworkMore Tools Help

Blog


    Usefull stuff unsorted

    I have a very bad memory, this blogg helps med remember som tips and tricks that will make my life as a system developer easier. Today I have this tips:

    XML Documentation Comments

    This was erlier integrated in Visual Studio now it´s a hidden and for many new developers maby unknown. If you compile with the switch /doc you will have nice documentation of all you comments added with ///

    Like this for example:

    /// <summary> /// This class performs an important function. /// </summary>
    public class MyClass{}

    Read more about this feature: http://msdn.microsoft.com/en-us/library/b2s063f7(VS.80).aspx

    C# Preprocessor Directives

    A nice feature, today I want to mark a class with the preprocessor directive #warning because I want this to be there until we investigated if the class should be deleted or not. Add a //TODO is not enough a warning is stronger and forces us to dont miss this before deployment.

    Read more about this here: http://msdn.microsoft.com/en-us/library/ed8yd1ha(VS.71).aspx

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://csharp3.spaces.live.com/blog/cns!E0D0E097982463FD!191.trak
    Weblogs that reference this entry
    • None