开发者

Exception detail

I am new to .net ..Is there any difference between exception and Exc开发者_JAVA技巧eption 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜