Go Back   RunUO - Ultima Online Emulation > Developer's Corner > Programming > C#

C# C# Discussion

Reply
 
Thread Tools Display Modes
Old 01-19-2008, 03:52 AM   #1 (permalink)
Forum Expert
 
MarciXs's Avatar
 
Join Date: Oct 2003
Location: Birmingham, UK
Age: 20
Posts: 423
Default Can't figure out how

How can I use bits?
I could use Bool but it's as big as char which is 1 byte. Why would i use it then anyway...?

thanks.
MarciXs is offline   Reply With Quote
Old 01-20-2008, 12:05 PM   #2 (permalink)
Forum Expert
 
arul's Avatar
 
Join Date: Jan 2005
Location: Hic sunt leones ...
Age: 21
Posts: 1,279
Send a message via MSN to arul
Default

Bit field - Wikipedia, the free encyclopedia

In .Net you can also use classes BitArray and BitVector32.
__________________
Angels are falling the very last time, down they're burning in hate and decline, unfaithful and violent we're breaking the spell, we're god, we're scissor, in heaven and hell!
arul is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5