public static Block create(BlockType blockType, int offSetRow, int offSetCol, int noOfRows, int noOfCols)
        {
            Block block = null;

            switch (blockType)
            {
            case BlockType.Dummy:

                block = new BlockDummy(offSetRow, offSetCol, noOfRows, noOfCols);

                break;

            case BlockType.Full:

                block = new BlockFull(offSetRow, offSetCol, noOfRows, noOfCols);

                break;

            case BlockType.Index:

                block = new BlockIndex(offSetRow, offSetCol, noOfRows, noOfCols);

                break;

            default:

                throw new BlockError("BlockBuilder#create -- given BlockType is not defined");
            }             // switch

            return(block);
        }
		public static Block create(BlockType blockType, int offSetRow, int offSetCol, int noOfRows, int noOfCols)
		{
			Block block = null;

			switch(blockType)
			{
				case BlockType.Dummy :

					block = new BlockDummy(offSetRow, offSetCol, noOfRows, noOfCols);

					break;

				case BlockType.Full :

					block = new BlockFull(offSetRow, offSetCol, noOfRows, noOfCols);

					break;

				case BlockType.Index :

					block = new BlockIndex(offSetRow, offSetCol, noOfRows, noOfCols);

					break;

					default :

						throw new BlockError("BlockBuilder#create -- given BlockType is not defined");

			} // switch

			return block;

		}