14
Is there a way to create a non nullable type in C# (like DateTime or TimeSpan).?
Also is there a way (an attribute maybe) to enforce that not null arguments wouldn't be passed to methods and properties without adding
if(arg1 == null)
{
throw new ArgumentNullException("this attribute is null")
}