![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: Aug 2005
Location: null
Posts: 40
Rep Power: 0
![]() |
Difference between double and Double in C#
Hi,
I was wondering if there is a difference between double and Double, between string and String, int and Int32 .. etc. in C#. I know that they all are primitive types, and that "int" for example is a synonym for Int32 in C#. But I was wondering - if int is a value type, does it mean that Int32 is a value type too? (it is a class as far as I know). And one more. Suggest we have the following code: int i = 5; Int32 i1 = 5; i.ToString(); // i is boxed as far as i know i1.ToString(); // is i1 boxed too ? So i am wondering if Int32 is also being boxed. Best regards ![]() |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I take a square root? | Fall Back Son | C | 26 | Oct 23rd, 2006 1:24 PM |
| HELP I dont know y this has an error | PLEASEHELP | C++ | 9 | Aug 4th, 2005 6:12 PM |
| C at College, advice if you please. | Ramlag | C | 10 | Apr 29th, 2005 10:53 PM |
| help out beginner with some errors (solved) | monka | Java | 8 | Mar 3rd, 2005 9:50 PM |
| Y for yes and N for no problem | sobank | C++ | 4 | Mar 1st, 2005 11:33 PM |