Category Archives: dotNET


.NET Exception Handling – System.InvalidCastException

Moving along through our .NET Exception Handling series, today we’ll dig into the System.InvalidCastException. Put simply, a System.InvalidCastException is thrown when trying to perform some type of conversion an object to an invalid type. ga In this article we’ll examine everything about the System.InvalidCastException, including where it sits within the… continue reading →


.NET Exceptions – System.NotImplementedException

Making our way through the .NET Exception Handling series, today we’ll dive into the depths of the System.NotImplementedException. Similar to System.ArgumentException and a handful of other exceptions of this type, the System.NotImplementedException is not an error that is accidentally thrown. Instead, a System.NotImplementedException is used when calling a method or… continue reading →


.NET Exception Handling – System.Net.Sockets.SocketException

Making our way through our .NET Exception Handling series, today we’re going to take a look at the System.Net.Sockets.SocketException. Typically, a System.Net.Sockets.SocketException is thrown when an error occurs within a socket, such as a failure to connect to a remote network. In this article we’ll examine the System.Net.Sockets.SocketException in more… continue reading →