¡@

Home 

c# Programming Glossary: bitaccessor

How to store a reference to an integer in C#? [duplicate]

http://stackoverflow.com/questions/2985646/how-to-store-a-reference-to-an-integer-in-c

Perhaps I should have been more specific. I'm writing a BitAccessor class that simply allows access to individual bits. Here's my.. usage class MyGlorifiedInt private int m_val ... public BitAccessor Bits return new BitAccessor m_val Usage MyGlorifiedInt val.. private int m_val ... public BitAccessor Bits return new BitAccessor m_val Usage MyGlorifiedInt val new MyGlorifiedInt 7 val.Bits..