C Sharp Test Question 8

Which is the correct declaration of nullable integer?

C Sharp Question 8

C Sharp Question 8

Explanation:

This is the proper way to declare and assign a nullable integer. In C#, you could also use the following .
int? i = null;

Objectives
Developing applications that use system types and collections

Manage data in a .NET Framework application by using .net Framework 2.0 system types.