How Try, Catch work in C# in VS-2010

Code with C | Programming: Projects & Source Codes Forums ASP.NET How Try, Catch work in C# in VS-2010

This topic contains 4 replies, has 1 voice, and was last updated by  SapnaVishwas 3 years, 6 months ago.

  • Author
    Posts
  • #8242

    BuckRenard
    Member

    How Try, Catch work in C# in VS-2010

  • #8244

    Amit
    Member

    You can get help from below help links

    try-catch (C# Reference)
    https://msdn.microsoft.com/en-sg/library/0yd65esw.aspx

    try-catch-finally (C# Reference)
    https://msdn.microsoft.com/en-us/library/dszsf989.aspx

  • #8247

    SapnaVishwas
    Member
    • A first chance exception of type ‘System.NullReferenceException’ occurred in MetaDatareader_with_Loop.exe
    • A first chance exception of type ‘System.Reflection.TargetInvocationException’ occurred in mscorlib.dll

    “…For applications / components which handle exceptions gracefully, first chance exception messages let the developer know that an exceptional situation was encountered and was handled.’

You must be logged in to reply to this topic.