![]() |
Programming for Windows Phone 7 (C#)
Ok i have identical code written in C#. But for some reason the same C# code in a Windows Phone 7 app doesnt compile. The only things causing problems are ArrayLists are said to not exist, and also System.Enum does not have a GetValues() method for some reason. This is for the blackjack app i made a thread about a while ago.
|
I know somebody knows, or does this only use a subset of C#?
|
You should probably do some research into the differences of programming for Windows and Windows Mobile.
|
I probably should. I figured since windows phone 7 is a new architecture and it won't be released til the end of the year maybe some people were experimenting with it. I didn't think programming for windows mobile and windows phone were the same since they are pushing the fact that there is no backwards compatibilty.
|
Windows Phone is the new Windows Mobile right?
|
well windows phone is just windows mobile. But windows phone 7 is being put out as an all new thing.
|
everything is in xaml and c#.
|
well...looks like my dumbass doesnt know anything about silverlight. There are no arraylists. Shouldnt be hard to fix now that i have time to research.
|
i figured out my first problem. But i need help with my foreach loop now. Currently i'm using
Code:
foreach (Faces F in Enum.GetValues(typeof(Faces))) |
|
great stuff man.
|
Windows phone 7 works via Silverlight? No native .NET applications anymore? I understood a lot wouldn't work, but this is really crap.
|
i'm starting to question why i used enumerators for suits and faces in a blackjack app in the first place.
Quote:
|
| All times are GMT. The time now is 09:23 AM. |
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.