By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,454 Members | 1,417 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,454 IT Pros & Developers. It's quick & easy.

Arrays in MOBILE DEVICE APPLICATION PROJECT

P: n/a

Very strange, when I create a project as MOBILE APPLICATION FOR SMALL
DEVICES and run this simple code, it fails to compile.

int[] arr = new int[5];
for (int i = 0; i < arr.Length; i++)
arr[i] = i * i;
Is this a bug in .NET COMPACT framework.

Please advise ASAP
New to asp and .net

thank you

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Sylvia:

You've declared the array but you haven't inialized it/any values. What
compilation error are you getting though? There are many things that can go
wrong with CF deployment..so the specific error would help out.
"Sylvia Arun" <se*******@hotmail.com> wrote in message
news:Om**************@TK2MSFTNGP10.phx.gbl...

Very strange, when I create a project as MOBILE APPLICATION FOR SMALL
DEVICES and run this simple code, it fails to compile.

int[] arr = new int[5];
for (int i = 0; i < arr.Length; i++)
arr[i] = i * i;
Is this a bug in .NET COMPACT framework.

Please advise ASAP
New to asp and .net

thank you

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.