Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

No 'List(T)' in Microframework?

  • Please log in to reply
2 replies to this topic

#1 gfcwfzkm


    Advanced Member

  • Members
  • PipPipPip
  • 52 posts
  • LocationBrig-Glis, Switzerland

Posted 28 July 2013 - 01:11 AM



im missing the List(T)-Class from the .Net Framework. Is there a way to get it to the Microframework? I know, it saves code and ram without it. But i need it and my planed application is small.


Can anyone help me with that?


I need it for the netduino plus with NetMF 4.2


mfg & thx



#2 enough



  • Members
  • PipPip
  • 15 posts
  • LocationBremen, Germany

Posted 28 July 2013 - 12:23 PM

Hey GFC,


you can use System.Collections.ArrayList, for example. Generics are not supported by the Microframework afaik. So if you do not want to cast a lot you can either use an array or subclass a collection class such as the above mentioned ArrayList.


Hope this helps,


#3 nakchak


    Advanced Member

  • Members
  • PipPipPip
  • 404 posts
  • LocationBristol, UK

Posted 29 July 2013 - 09:10 AM

As enough said Generics are not supported by the microframework. 

That said you can create object arrays  and similar and 90% of what you could do in .net 1.0 you can do in netmf, so lack of genrics shouldnt be to much of a problem.  Generally if you need some of the higher level features of .net for your project to work you are working at to high level for netmf, try getting closer to the metal and looking at how those features are really used in your application.  It may mean a lot more casts than you are used to in standard .net but it is doable.



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.