C# Comments

Discussion in 'Software' started by mastermosley, Feb 10, 2007.

  1. mastermosley

    mastermosley Sergeant

    Ok heres my dilemma. I am trying to type comments and i'll be typing a word like text in and pushing the space bar it switches it to TextBox. I don't mind this when I'm typing the code but is there anyway to turn this off for comments?
     
  2. matt.chugg

    matt.chugg MajorGeek

    you mean the intelisense ? Intelisense isn't active with comments.

    what are you using to denote comments ?

    Type your comments like this

    single line comment

    Code:
            [COLOR="RoyalBlue"]private void[/COLOR] Form1_Load([COLOR="royalblue"]object [/COLOR]sender, [COLOR="MediumTurquoise"]EventArgs [/COLOR]e)
            {
                [COLOR="RoyalBlue"]this[/COLOR].Text = [COLOR="Sienna"]"test app"[/COLOR]; [COLOR="SeaGreen"]// Set titlebar text[/COLOR]
            }
    
    multiline comment

    Code:
            [COLOR="RoyalBlue"]private void[/COLOR] Form1_Load([COLOR="royalblue"]object [/COLOR]sender, [COLOR="MediumTurquoise"]EventArgs [/COLOR]e)
            {
    [COLOR="SeaGreen"]            /* this bit sets the
                 * title bar text */[/COLOR]
    
                [COLOR="RoyalBlue"]this[/COLOR].Text = [COLOR="Sienna"]"test app"[/COLOR];
            }
    
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds