Created
July 15, 2012 19:34
-
-
Save mikebluestein/3118303 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public NSArray ToNSArray (int[] array) | |
{ | |
NSArray nsArray = null; | |
var objects = Array.ConvertAll (array, i => (object)i); | |
if (objects != null) { | |
nsArray = NSArray.FromObjects (objects); | |
} | |
return nsArray; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment