C# - What is nullable type Wrapping?

The process of creating a non-null instance of a nullable type from a given value is called wrapping.

Wrapping:


  int? val = 10;
  var val = new int?(10);
 

Ads by Google

Ask a question, send a comment, or report a problem - click here to contact me.

© Richard McGrath