best practice - int or Int32

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<p align=left><font face=Arial size=2></font> 
Hi all,
<p align=left> 
<p align=left>Ive read in a few best practice compilations, that we should use "int" and not "Int32", and "string" instead of "String" and so on.
<p align=left> 
<p align=left>Since "int" is an alias for "System.Int32", and it will anyway be converted to the System object on the IL, is there any reasonable explanation to consider one approach over the other?
<p align=left> 
<p align=left>Thank you,
<p align=left>JC

View the full article
 
Back
Top