I have a combobox with Items 1024
2048
4096
8192
String cach = form.comboCache .SelectedItem.T oString();
I am using the above code to retrive an item selected by user,But this line is giving an exception "Null Reference Exception, Object reference not set to an instance of an object"