![]() |
Active Topics Memberlist Calendar Search |
|
|
| .Net Framework FAQs -II | |
| Can I Use Generics on the Compact Framework? | ||
| Author | Message |
|
Faqs
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. ![]() Posted: 28 Nov 2007 at 12:10am
|
|
IP Logged |
|
|
||
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 |
|