Series: Coding Contentions: Data Types, are you native?
Wednesday, August 27, 2008 3:25 PM
When you're coding, do you use Int32 or int? So you use String or string? When it comes time to picking your datatypes do you use the native .NET type or the language specific types?
This seems to be another one of those religious types of discussions which companies like to have their own standards set in stone. I know the C# datatypes are aliases to the CLR. What I'm asking is, what versions but what do you use in your code? Do you use the .NET CLR System.Int32 datatype or the C# language specific alias int? What about CLR System.String or C# string?
Reference: GeekPedia article