Saturday, June 15, 2019 ..:: Home ::.. Register  Login

Peter Henry on Facebook  Peter Henry on LinkedIn  Peter Henry on Twitter

All blog entries are the opinions of the author and do not necessarily reflect the opinions of their employer. All the code presented is for explanation and demonstration purposes only. Any damages incurred to your site and/or data are not the responsibility of the author. Every effort is taken to ensure the code properly compiles, however sometimes there are some hiccups and you might be required to do your own debugging.
   TechTidBits (Blog)  

Series: Coding Contentions: Data Types, are you native?

Aug 27

Written by:
Wednesday, August 27, 2008 3:25 PM  RssIcon

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

Location: Blogs Parent Separator TechTidBits

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Add Comment   Cancel 
Copyright 1999-2012 by   Terms Of Use  Privacy Statement