What are the primitive typenames in C#? Yes, we have a similar answer, but that only mention types, not the typenames: https://stackoverflow.com/a/13530321/3691653
E.g. it mentions types such as System.Int32
and System.Single
but not typenames int
and float
which also compiles for me. So what is the full list of typenames including its aliases?
In other words, I am interested about non-nullable typenames / typenames that require the Nullable<> keyword in order to be able to be set as null.