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

Why a function in C# requires "Return type"??
- Basically , a Method is a piece of code used for the re-usability purpose. - Method is of 2 types Function and Procedure - Function is a method which returns a value to the calling place Function...

What Is An Array? Explain Its Type.
Array: Array is a collection of similar type of data in an array varaiable. Array start with Zero Index and maximum length of array is total element - 1. i.e., Suppose n is the length of array, total element...
N

Software Development Training In Jaipur
Satyam Web Solution provides website designing &development and software designing &development training in Jaipur for various stream’s students. MCA 6 month Industrial Training/Internship B....

OOPs Concepts
Session Objectives: Discuss the following: Drawbacks of traditional programming Need for Object: Oriented approach Object: Oriented techniques Discuss Object: Oriented Concepts Objects. Classes. Abstraction. Inheritance. Encapsulation. Polymorphism. Need...

C#.Net Interview Question and Answers
1. What is C#? C# (pronounced "C sharp") is a simple, modern, object-oriented, and type-safe programming language. It will immediately be familiar to C and C++ programmers. C#...
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