• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Programming for Windows Phone 7 (C#)

Joined
Mar 8, 2006
Messages
498 (0.08/day)
Processor Celeron 430 (Conroe-L)
Motherboard ASUS Rampage Formula
Cooling Water, Zalman Reserator XT
Memory Corsair Dominator PC2-8500 DDR2-1000
Video Card(s) Visiontek 2600 PRO
Storage Maxtor Maxline 3, more Maxtors
Display(s) Acer P243w 24"
Case Aspire X-Navigator ATXA9N-BK
Audio Device(s) Mbox
Power Supply Thermaltake Toughpower 750w
Software Protools and a bunch of racing games...
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.
 
Joined
Mar 8, 2006
Messages
498 (0.08/day)
Processor Celeron 430 (Conroe-L)
Motherboard ASUS Rampage Formula
Cooling Water, Zalman Reserator XT
Memory Corsair Dominator PC2-8500 DDR2-1000
Video Card(s) Visiontek 2600 PRO
Storage Maxtor Maxline 3, more Maxtors
Display(s) Acer P243w 24"
Case Aspire X-Navigator ATXA9N-BK
Audio Device(s) Mbox
Power Supply Thermaltake Toughpower 750w
Software Protools and a bunch of racing games...
I know somebody knows, or does this only use a subset of C#?
 

DirectorC

New Member
Joined
Nov 4, 2009
Messages
1,624 (0.31/day)
Location
Florizy
System Name -= Son of a Whore =-
Processor E8400 @ 4.0GHz (445 x 9)
Motherboard Gigabyte GA-EP45-UD3R
Cooling Cooler Master Hyper 212+
Memory 3GB Corsair XMS2
Video Card(s) EVGA 8800 GT 512
Storage 74GB Raptor + Caviars in RAID0
Display(s) I-Inc 19" LCD 1440x900
Audio Device(s) Audigy SE & Logitech X-540
Power Supply Corsair 750TX
Software Win32 v6.1.7600
Benchmark Scores Logitech KB & Sidewinder X3
You should probably do some research into the differences of programming for Windows and Windows Mobile.
 
Joined
Mar 8, 2006
Messages
498 (0.08/day)
Processor Celeron 430 (Conroe-L)
Motherboard ASUS Rampage Formula
Cooling Water, Zalman Reserator XT
Memory Corsair Dominator PC2-8500 DDR2-1000
Video Card(s) Visiontek 2600 PRO
Storage Maxtor Maxline 3, more Maxtors
Display(s) Acer P243w 24"
Case Aspire X-Navigator ATXA9N-BK
Audio Device(s) Mbox
Power Supply Thermaltake Toughpower 750w
Software Protools and a bunch of racing games...
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.
 

DirectorC

New Member
Joined
Nov 4, 2009
Messages
1,624 (0.31/day)
Location
Florizy
System Name -= Son of a Whore =-
Processor E8400 @ 4.0GHz (445 x 9)
Motherboard Gigabyte GA-EP45-UD3R
Cooling Cooler Master Hyper 212+
Memory 3GB Corsair XMS2
Video Card(s) EVGA 8800 GT 512
Storage 74GB Raptor + Caviars in RAID0
Display(s) I-Inc 19" LCD 1440x900
Audio Device(s) Audigy SE & Logitech X-540
Power Supply Corsair 750TX
Software Win32 v6.1.7600
Benchmark Scores Logitech KB & Sidewinder X3
Windows Phone is the new Windows Mobile right?
 
Joined
Mar 8, 2006
Messages
498 (0.08/day)
Processor Celeron 430 (Conroe-L)
Motherboard ASUS Rampage Formula
Cooling Water, Zalman Reserator XT
Memory Corsair Dominator PC2-8500 DDR2-1000
Video Card(s) Visiontek 2600 PRO
Storage Maxtor Maxline 3, more Maxtors
Display(s) Acer P243w 24"
Case Aspire X-Navigator ATXA9N-BK
Audio Device(s) Mbox
Power Supply Thermaltake Toughpower 750w
Software Protools and a bunch of racing games...
well windows phone is just windows mobile. But windows phone 7 is being put out as an all new thing.
 
Joined
Mar 8, 2006
Messages
498 (0.08/day)
Processor Celeron 430 (Conroe-L)
Motherboard ASUS Rampage Formula
Cooling Water, Zalman Reserator XT
Memory Corsair Dominator PC2-8500 DDR2-1000
Video Card(s) Visiontek 2600 PRO
Storage Maxtor Maxline 3, more Maxtors
Display(s) Acer P243w 24"
Case Aspire X-Navigator ATXA9N-BK
Audio Device(s) Mbox
Power Supply Thermaltake Toughpower 750w
Software Protools and a bunch of racing games...
everything is in xaml and c#.
 
Joined
Mar 8, 2006
Messages
498 (0.08/day)
Processor Celeron 430 (Conroe-L)
Motherboard ASUS Rampage Formula
Cooling Water, Zalman Reserator XT
Memory Corsair Dominator PC2-8500 DDR2-1000
Video Card(s) Visiontek 2600 PRO
Storage Maxtor Maxline 3, more Maxtors
Display(s) Acer P243w 24"
Case Aspire X-Navigator ATXA9N-BK
Audio Device(s) Mbox
Power Supply Thermaltake Toughpower 750w
Software Protools and a bunch of racing games...
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.
 
Joined
Mar 8, 2006
Messages
498 (0.08/day)
Processor Celeron 430 (Conroe-L)
Motherboard ASUS Rampage Formula
Cooling Water, Zalman Reserator XT
Memory Corsair Dominator PC2-8500 DDR2-1000
Video Card(s) Visiontek 2600 PRO
Storage Maxtor Maxline 3, more Maxtors
Display(s) Acer P243w 24"
Case Aspire X-Navigator ATXA9N-BK
Audio Device(s) Mbox
Power Supply Thermaltake Toughpower 750w
Software Protools and a bunch of racing games...
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)))

But the GetValues method doesnt exist in Silverlight and i'm having a hard time finding an alternative.
 
Joined
Mar 8, 2006
Messages
498 (0.08/day)
Processor Celeron 430 (Conroe-L)
Motherboard ASUS Rampage Formula
Cooling Water, Zalman Reserator XT
Memory Corsair Dominator PC2-8500 DDR2-1000
Video Card(s) Visiontek 2600 PRO
Storage Maxtor Maxline 3, more Maxtors
Display(s) Acer P243w 24"
Case Aspire X-Navigator ATXA9N-BK
Audio Device(s) Mbox
Power Supply Thermaltake Toughpower 750w
Software Protools and a bunch of racing games...
great stuff man.
 
Joined
May 20, 2004
Messages
10,487 (1.44/day)
Windows phone 7 works via Silverlight? No native .NET applications anymore? I understood a lot wouldn't work, but this is really crap.
 
Joined
Mar 8, 2006
Messages
498 (0.08/day)
Processor Celeron 430 (Conroe-L)
Motherboard ASUS Rampage Formula
Cooling Water, Zalman Reserator XT
Memory Corsair Dominator PC2-8500 DDR2-1000
Video Card(s) Visiontek 2600 PRO
Storage Maxtor Maxline 3, more Maxtors
Display(s) Acer P243w 24"
Case Aspire X-Navigator ATXA9N-BK
Audio Device(s) Mbox
Power Supply Thermaltake Toughpower 750w
Software Protools and a bunch of racing games...
i'm starting to question why i used enumerators for suits and faces in a blackjack app in the first place.



Windows phone 7 works via Silverlight? No native .NET applications anymore? I understood a lot wouldn't work, but this is really crap.

thats what it looks like.
 
Top