Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp  Sitemap  Contact Us  RegisterRegister  LoginLogin
.Net Framework FAQs -II
 GenProgrammers : .Net, C#, Remoting, Visual basic,..etc : .Net Framework FAQs -II
Can I Use Generics on the Compact Framework?
Author Message
Faqs
Admin Group
Admin Group

Admin

Joined: 13 Apr 2006
Location: India
Online Status: Offline
Posts: 14411
Yes. The .NET Compact Framework version 2.0 supports generics. Like most other things with the .NET Compact Framework, the generics support is very close but not exactly the same as the normal .NET Framework, due to performance and schedule constrains. You can use generics with both C# and Visual Basic for the compact framework. The compact framework does apply certain limitations on generics, the notable ones are:
•     The compact framework does not verify constraints are runtime, only at compile time.
•     You can only have up to 8 generic type parameters per generic type.
•     You cannot use reflection on unbounded generic types.


Quote Faqs Reply






bullet     Posted: 28 Nov 2007 at 12:10am
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Select Category
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.094 seconds.