Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
QuestionHow to open file using it defualt program using C# ? Pin
anbluemoon8-Apr-09 7:28
anbluemoon8-Apr-09 7:28 
AnswerRe: How to open file using it defualt program using C# ? Pin
Luc Pattyn8-Apr-09 7:33
sitebuilderLuc Pattyn8-Apr-09 7:33 
QuestionWhat's the advantage of MDI interface over tabbed Pin
Member 10339078-Apr-09 6:12
Member 10339078-Apr-09 6:12 
AnswerRe: What's the advantage of MDI interface over tabbed Pin
Noah Wollowick8-Apr-09 6:21
Noah Wollowick8-Apr-09 6:21 
AnswerRe: What's the advantage of MDI interface over tabbed Pin
Rob Philpott8-Apr-09 6:54
Rob Philpott8-Apr-09 6:54 
GeneralRe: What's the advantage of MDI interface over tabbed Pin
Dan Neely8-Apr-09 7:12
Dan Neely8-Apr-09 7:12 
AnswerRe: What's the advantage of MDI interface over tabbed Pin
PIEBALDconsult8-Apr-09 15:44
mvePIEBALDconsult8-Apr-09 15:44 
QuestionJust for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 5:15
Rob Philpott8-Apr-09 5:15 
...if your idea of fun is as warped as mine. No Visual Studio allowed.

   static void Main(string[] args)

    {

        try

        {

            TestStatic.SaySomething("HI");

        }

        catch (Exception error)

        {

            Console.WriteLine(error.InnerException.Message);

        }

        try

        {

            TestStatic.SaySomething("Hi 2");

        }

        catch (Exception error)

        {

            Console.WriteLine(error.InnerException.Message);

        }

        Console.ReadLine();

    }

}



public class TestStatic

{

    static TestStatic()

    {

        throw new Exception("Afternoon Exception");

    }



    public static void SaySomething(string message)

    {

        Console.WriteLine(message);

    }

}


Regards,
Rob Philpott.

AnswerRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 5:38
Le centriste8-Apr-09 5:38 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 5:40
Rob Philpott8-Apr-09 5:40 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 5:46
Le centriste8-Apr-09 5:46 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 5:47
Rob Philpott8-Apr-09 5:47 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 5:48
Le centriste8-Apr-09 5:48 
GeneralRe: Just for fun - what's the output of this? Pin
DominLondon8-Apr-09 5:49
DominLondon8-Apr-09 5:49 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 5:53
Le centriste8-Apr-09 5:53 
GeneralRe: Just for fun - what's the output of this? Pin
DominLondon8-Apr-09 5:54
DominLondon8-Apr-09 5:54 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 6:00
Le centriste8-Apr-09 6:00 
AnswerRe: Just for fun - what's the output of this? Pin
MNantu8-Apr-09 5:41
MNantu8-Apr-09 5:41 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 5:44
Rob Philpott8-Apr-09 5:44 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 5:47
Le centriste8-Apr-09 5:47 
GeneralRe: Just for fun - what's the output of this? Pin
DominLondon8-Apr-09 5:48
DominLondon8-Apr-09 5:48 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 5:53
Le centriste8-Apr-09 5:53 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 5:56
Rob Philpott8-Apr-09 5:56 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 6:08
Le centriste8-Apr-09 6:08 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 6:15
Rob Philpott8-Apr-09 6:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.