Top "Argumentnullexception" questions

[MSDN] The exception that is thrown when a null reference is passed to a method that does not accept it as a valid argument.

How to initialize IEnumerable<Object> that be empty and allow to Concat to it?

I tried this code for adding b to books: IEnumerable<Book> books =null; foreach (Book b in context.…

c# linq linq-to-entities concatenation argumentnullexception
Value cannot be null, ArgumentNullException

I am currently trying to return an array which contains information about a seat at a theate such as Seat …

c# arrays combobox argumentnullexception
SQL PL/SQL user defined multiple exception error handling (null)

I'm trying to write a stored procedure that will have 2 exception errors. Create table Employee (emp_num varchar(10) primary key, …

exception-handling plsql argumentnullexception
vb.net image save to memory stream results in an ArgumentNullException

In VB.NET I have the following function that allows me to calculate a hash for an image I have …

vb.net image memorystream argumentnullexception
ArgumentNullException was unhandled - Value cannot be null. Parameter name: first

I am currently using the DotSpatial library for .NET (GIS Library). I am getting an error within my AppManager class. …

c# .net stack-trace argumentnullexception
Create class instance from string

I have a C# method which creates a new instance of a class from a string, however, I get an …

c# reflection class instance argumentnullexception
Is there any reason to throw a DivideByZeroException?

Are there any cases when it's a good idea to throw errors that can be avoided? I'm thinking specifically of …

c# exception-handling argumentnullexception dividebyzeroexception