What is default(object) used for?

added by DotNetKicks
8/5/2020 1:45:26 PM

424 Views

I was asked what the meaning of default(object) is in the following piece of code: The code is something that you'll see a lot in RavenDB indexes, but I understand why it is a strange construct. The default(object) is a way to null.


0 comments