c# Programming Glossary: m_val
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 Here's my desired usage class MyGlorifiedInt private int m_val ... public BitAccessor Bits return new BitAccessor m_val Usage.. m_val ... public BitAccessor Bits return new BitAccessor m_val Usage MyGlorifiedInt val new MyGlorifiedInt 7 val.Bits 0 false.. val outputs 6 For BitAccessor to be able to modify m_val it needs a reference to it. But I want to use this BitAccessor..
|