All pastes #64013 Raw Edit

Someone

public text v1 · immutable
#64013 ·published 2006-06-11 00:57 UTC
rendered paste body
public Struct UnionStruct
{
	int[] mInts;


	public int X
	{
		get{ return mInts[0];}
		set{ mInts[0] = value;}
	}
	public int Y
	{
		get{ return mInts[1];}
		set{ mInts[1] = value;}
	}

	public int Y
	{
		get{ return mInts[2];}
		set{ mInts[2] = value;}
	}

	public Emitter this[int i]
	{
		get		{return mInts[i];}
		set		{mInts[i] = value;}
	}

        public UnionStruct()
        {
                mInts = new int[3];
        }
}