crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

What are the 10 most common dotnet Exceptions?
Question Posted on 06 Apr 2024Home >> DotNet >> ASP.NET >> What are the 10 most common dotnet Exceptions?

What are the 10 most common dotnet Exceptions?
Well, all of us knows the proper exception handling of all application are very critical. We have tried to cover top 10 exceptional handling in below list:-
(1)System.NullReferenceException:-Most common exception related to calling a method on a null object refrence.
(2)System.IndexOutOfRangeException:-This error occur whrn you are about to access an array element which is not exist.
(3)System.IO.IOException:-This is used around many file I/O type operations.
(4)System.Net.WebException:-This error will be thrown when any of error perform during HTTP calls.
(5)System.Data.SqlCLient.SqlException:-When we get various types of SQL Server exceptions.
(6)System.StackOverflowException:-This error will occur when method calls recursively, this error will generated.
(7)System.OutOfMemoryException:-When your application/app runs out of memeory.
(8)System.InvalidCastException:-This error will occur when you are trying to convert an object to an incompatible type.
(9)System.InvalidOperationException:-This is one of the common generic exception in a lot of libraries.
(10)System.ObjectDisposedException:- Attempting to utilize an object that has already undergone disposal.
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Use of Calendar control in dotnet with code

How to improve Front End UI performance of dotnet web application?

File upload in dotnet

reverse a string

function of garbage collector






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap