using System;
//Problem 13. Null Values Arithmetic
// Create a program that assigns null values to an integer and to a double variable.
// Try to print these variables at the console. Try to add some number or
// the null literal to these variables and print the result.
public class NullValues
{
public static void Main()
int? intValue = null;
double? doubleValue = null;
Console.WriteLine("intValue = {0} \ndoubleValue = {1}", intValue , doubleValue);
intValue += null;
doubleValue += 3.14;
// you cant add anything to a nullable type variable (because 3 + null = null and null + null = null)
Console.WriteLine("intValue = {0} \ndoubleValue = {1}", intValue, doubleValue);
}