Comment 1 for bug 245330

Revision history for this message
Krisztian Gyuris (gyurisc) wrote :

The following code can replace the statement and it works, although it is much longer:

if(listOfInts == null)
{
   listOfInts = new List<int>;
}

return listOFInts;

This works, but is there any way to do this with the use of ?? operator?