Netduino home hardware projects downloads community

Jump to content


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

Class compatibility issues with microframework


  • Please log in to reply
1 reply to this topic

#1 Adamos

Adamos

    New Member

  • Members
  • Pip
  • 9 posts

Posted 28 November 2011 - 09:45 AM

Hello guys, I 've implement a class on C# for path planning but i prefer to have it on netduino but collection List and Icomparable interface are not available. Is there any way to overcome this problem?? Thanking you in advance.

#2 Firegun

Firegun

    Member

  • Members
  • PipPip
  • 24 posts

Posted 28 November 2011 - 11:39 PM

Hello Adamos, I rly don´t know about the IComparable, you will prob need to implement the interface and do some changes on your code to wotk with it, but about the collections on .NetMF there are no generics, you could use ArrayList (or Hashtable or any other class of the System.Collections), but you have to cast the objects types when u take then from the collection. Hope this helps, somehow...




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.