I saw this code recently
arrMove = new List<int[]>(4); m_pppiCaseMoveDiagLine = new int[64][][]; m_pppiCaseMoveDiagonal = new int[64][][]; m_pppiCaseMoveLine = new int[64][][]; m_ppiCaseMoveKnight = new int[64][]; m_ppiCaseMoveKing = new int[64][]; m_ppiCaseWhitePawnCanAttackFrom = new int[64][]; m_ppiCaseBlackPawnCanAttackFrom = new int[64][];
but I couldnโt know how to make my code look like this using visual C # 2010, do you know any shortcut or tool to do this automatically?
EDIT
I also have another related question if I want to align ads like this
private PlayerColorE m_eNextMoveColor; private int[] m_piPiecesCount; private Random m_rnd; private int m_iAttackedPieces;
- it seems impossible to do this using power tool extensions -
Do you have any ideas how to do this?
Many thanks for your help!
c #
George
source share