这个问题在这里已经有了答案:关闭12年前。PossibleDuplicate:AddingnulltoaListcastasanIListthrowinganexception.ListlistONullables=newList();IListdegenericed=listONullables;//ThisworksfinelistONullables.Add(null);//Runtimeexception://"Thevalue""isnotoftype"System.Nullable`1[System.Int32]"//andcannotbeusedinthisgeneric