C# (and all .Net languages, such as VB and F#), have common data types, which are compatable. So in reality, they are the same. For this reason, you should not worry about performance, since C# exposes its own representation of the Common Type System. Any code you write is always translated to IL, so there is no performance gain to be had.
Regards, Reuben Bartolo http://whatiseeinit.blogspot.com/ On 30 March 2012 19:30, Alex Gabriel <alexgabr...@dimensiadesign.com> wrote: > I'm relatively new to C#, and have a question regarding use of data types. > In the book I've been reading, it's indicated that data types such as int > are simply references to corresponding .NET data types. > > My question is whether there is any functional difference, when coding, > between the two? Additionally, is there any performance improvement using > the .NET types? I.e. Does the compilation into I'll happen any quicker, or > is there any runtime speed improvement as a result of the choice of one or > the other when I code? > Sent from my BlackBerry device on the Rogers Wireless Network > > -- > You received this message because you are subscribed to the Google > Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML > Web Services,.NET Remoting" group. > To post to this group, send email to dotnetdevelopment@googlegroups.com > To unsubscribe from this group, send email to > dotnetdevelopment+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en > or visit the group website at http://megasolutions.net > -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to dotnetdevelopment@googlegroups.com To unsubscribe from this group, send email to dotnetdevelopment+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net