469,356 Members | 2,013 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,356 developers. It's quick & easy.

No unsigned int in c# ?

Hi All,

My code:

private static unsigned int Queue_count = 0;

it can't pass the compiler, the error msg shows the 'unsigned'
keyword.

there is no unsigned int in c# ?

Thanks!
Best regards,
Boki.

Jul 10 '07 #1
3 21644
Use:

private static uint Queue_count = 0;
"Boki" wrote:
Hi All,

My code:

private static unsigned int Queue_count = 0;

it can't pass the compiler, the error msg shows the 'unsigned'
keyword.

there is no unsigned int in c# ?

Thanks!
Best regards,
Boki.

Jul 10 '07 #2
On Jul 10, 10:38 am, ModelBuilder
<ModelBuil...@discussions.microsoft.comwrote:
Use:

private static uint Queue_count = 0;

"Boki" wrote:
Hi All,
My code:
private static unsigned int Queue_count = 0;
it can't pass the compiler, the error msg shows the 'unsigned'
keyword.
there is no unsigned int in c# ?
Thanks!
Best regards,
Boki.
Thanks.

Jul 10 '07 #3
Why not uint?

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)

************************************************
Think outside the box!
************************************************
"Boki" <bo******@ms21.hinet.netwrote in message
news:11**********************@d30g2000prg.googlegr oups.com...
Hi All,

My code:

private static unsigned int Queue_count = 0;

it can't pass the compiler, the error msg shows the 'unsigned'
keyword.

there is no unsigned int in c# ?

Thanks!
Best regards,
Boki.

Jul 10 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by William Payne | last post: by
25 posts views Thread by amit | last post: by
4 posts views Thread by techie | last post: by
10 posts views Thread by =?iso-8859-2?B?SmFuIFJpbmdvuQ==?= | last post: by
6 posts views Thread by Kislay | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.