When i do
int k=3;
where in the reflector can i find the pseudo statement?
Object k = new Int32();
where can i find the value assign?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Even though primitive types inherit from Object, the .net Framework treats them in a special way. An int is an int and treated using functions like ldc.i4 (loads a 32-bit constant onto the stack).
In situations where an object is needed, an int is indeed cast to Object through a process called boxing.