¡@

Home 

c# Programming Glossary: glorifiedint

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

access to individual bits. Here's my desired usage class MyGlorifiedInt private int m_val ... public BitAccessor Bits return new BitAccessor.. BitAccessor Bits return new BitAccessor m_val Usage MyGlorifiedInt val new MyGlorifiedInt 7 val.Bits 0 false Bits gets a new BitAccessor.. new BitAccessor m_val Usage MyGlorifiedInt val new MyGlorifiedInt 7 val.Bits 0 false Bits gets a new BitAccessor Console.WriteLine..