Create a method or list that can't receive null arguments
104501
How do I enforce null checking?
29684
How to check if an object is nullable?
139143
How to specify optional arguments that take functional values
65944
Easier way of writing null or empty?
2116
IllegalArgumentException or NullPointerException for a null parameter?
56122
Is there any way to define pure functions with optional arguments?
10581
Avoiding NullPointerException in Java
73034
StringBuilder append() and null values
11318
How to circumvent using an out parameter in an anonymous method block?
8940
Better practice to re-instantiate a List or invoke clear()
144348
How can I create my own methods which take a block as an argument and which I can call later?
134694
Create a List of primitive int?
90161
What does [param: NotNull] mean in C#?
13538
How to create empty ToPagedList items inside my action method and pass them to my view
117500
default(T) with empty collection instead of null
85865
Optional Methods in Java Interface
34175
Create a method call in .NET based on a string value