– Exception detail – Education Career Blog

I am new to .net ..Is there any difference between exception and Exception in .net I received error while using ‘exception’..


C# is case sensitive, while VB.NET is not. If your class/page/control is in C#, then there is a difference between Exception and exception, otherwise not.


C# is case sensitive (Exception != exception) – in the BCL (Base Class Library), there is an Exception class, but there is no exception class.

Your question however is not very clear – can you post the relevant parts of your code?


Assuming you are using c#, the keyword Exception is case-sensitive. If you intend to use the class then you need to use the Exception class than in lowercase.

Leave a Comment