P
Pedro
I have this class:
public class Test
{
protected System.Collections.Specialized.BitVector32 _bv32;
public System.Collections.Specialized.BitVector32 BV32 {
get { return _bv32; }
set { _bv32 = value; }
}
public Test()
{
_bv32 = new System.Collections.Specialized.BitVector32(33);
_bv32[1] = false;
}
}
Why if i do:
Test test = new Test();
int a = test.BV32.Data;
test.BV32[1] = false; // DOESN'T COMPILE!!!
it generates a compiler error in the last line???
As you can see in the Test constructor i can do:
_bv32[1] = false
FYI, I'm using VS.NET 2002.
I'm going crazy, please help me.
Pedro.
public class Test
{
protected System.Collections.Specialized.BitVector32 _bv32;
public System.Collections.Specialized.BitVector32 BV32 {
get { return _bv32; }
set { _bv32 = value; }
}
public Test()
{
_bv32 = new System.Collections.Specialized.BitVector32(33);
_bv32[1] = false;
}
}
Why if i do:
Test test = new Test();
int a = test.BV32.Data;
test.BV32[1] = false; // DOESN'T COMPILE!!!
it generates a compiler error in the last line???
As you can see in the Test constructor i can do:
_bv32[1] = false
FYI, I'm using VS.NET 2002.
I'm going crazy, please help me.
Pedro.