while (inner.MoveToNextAttribute()) { int caseSwitch=1; switch (caseSwitch) { case 1: if (inner.Name == "Identifier") { dto.gettingField(inner.Value); } goto case 2; case 2: if (inner.Name == "ByteOffset") { dto.gettingByteoffset(inner.Value); } goto case 3; case 3: if (inner.Name == "BitOffset") { dto.gettingBitoffset(inner.Value); } } }
public string gettingValues(string structurefield_identifier) { Field si = new Field(); si.StructureField_Identifier = structurefield_identifier; si.byteoffset=structureFieldIdentifier; si.bitoffset=structureFieldIdentifier; Field.Add(si); return structurefield_identifier; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)