UrbanPro
true

Learn C# .NET from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

What are Various Types of Exception in C#

Suprio Dutta
28/06/2018 0 0

 

  • ArgumentException, ArgumentNullException, and ArgumentOutOfRangeException.
  • NullReferenceException, IndexOutOfRangeException, SQL exceptions
  • Stack Overflow Exception, Invalid Castexception

ArgumentException occurs due to the appearance of invalid argument types

argument null exception is due to null argument appearances. and out of range is when argument is defined which exceeds within its own bound levels.

null reference exception is when referencing an object you come across null character.

 IndexOutOfRangeException is when the index is defined beyond the actual bound levels. like in arrays. carrying integers of other characters.

sql exception is when mismatch happens between the number of rows or columns or irrelevant data types happens when client-side access the server side. in the database.

InvalidCastexception happens when the wrong type of casting happens between to data types for example between string and integer.

StackOverflowException happens when stacks try to acquire values beyond its own bound levels preassigned.

 

 

 

0 Dislike
Follow 2

Please Enter a comment

Submit

Other Lessons for You

Differences Between Execution Query, Execute Scalar and Execute Reader.
ExecuteNonQuery ExecuteNonQuery method will return number of rows effected with INSERT, DELETE or UPDATE operations. This ExecuteNonQuery method will be used only for insert, update and delete, Create,...

Compare C And C++ In Terms Of Header Files.
1."stdio.h" in c program controls input-output functionalities and operations associated with it where as in c++ program iostream.h" controls input-output functionalities and operations associated with...



Benefits of AsP.net webapi over traditional asp.net 2 and 3.5
Tradional asp.net had slower server side response feedback to the server with the MVC concept on webapi there were faster responses from the server side for client requests. Optimization of code was main...
X

Looking for C# .NET Classes?

The best tutors for C# .NET Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C# .NET with the Best Tutors

The best Tutors for C# .NET Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more