Microsoft provides a set of standard error codes for Windows (http://msdn.microsoft.com/en-us/library/ms681381(VS.85).aspx). When applicable, I find them useful for links in my own applications, rather than creating my own. Is there something similar but specific to .NET?
.NET prevents the use of error codes. Instead, focus on using the standard exception classes or outgoing ones.
Exceptions should be preferable to error codes in .NET development.
I agree with Reed Copsi, error codes are the โremnantsโ of past error handling methods.
The new way to do me is Exception Handling .
Exception Handling