Alex, look at this post http://renefc3.wordpress.com/2012/03/27/diferenca-entre-uma-classe-e-um-structreference-type-vs-value-type/ (is in portuguese from brazil) for you translate and is easy to understand
On Tue, Apr 3, 2012 at 8:12 AM, Reuben Bartolo <[email protected]>wrote: > 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 <[email protected]>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 [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 > -- Rene Felix Correa Analista Desenvolvedor http://renefc3.wordpress.com -- 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 [email protected] To unsubscribe from this group, send email to [email protected] 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
