how to run second class if my first class is having errors

Discussion in 'Programming' started by sheetal_kawade, Nov 23, 2010.

  1. #1
    In console application i have added two classes. my class1 is having some errors. I have set start up project as my class2 bcz i want run that class by going inside solution explore and used properties. But my class1 is having problem so i can not run my second class even if i stated it as start up project. Can is there any way to run class2 without solving class1 errors(c# console application)
     
    sheetal_kawade, Nov 23, 2010 IP
  2. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #2
    Dude, this is not a C# programming forum... Did you use Google to find a C# forum that can handle this questions?

    I guess there are a lot of forums that can answer those questions.
     
    CSM, Nov 27, 2010 IP
  3. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #3
    You could just comment them out...
     
    camjohnson95, Nov 28, 2010 IP
  4. sheetal_kawade

    sheetal_kawade Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i know it but is there any another solution to this question????
     
    sheetal_kawade, Dec 3, 2010 IP
  5. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Not that I am aware of, I don't think that you can compile a project which contains errors... although I may be wrong. Why not just fix the errors, or comment them out until you need to fix them. Comment the whole class out if necessary....
     
    camjohnson95, Dec 3, 2010 IP