C# - What is nullable type Wrapping?

Wrapping is creating a non-null instance of a nullable type from a given value.

Wrapping examples:


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

Ads by Google


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

© Richard McGrath