示例#1
0
        //Hexadecimal to Octal
        public string getHexadecimalToOctal()
        {
            //Hexadecimal to Decimal
            string hexD = getHexadecimalToDecimal();

            DecimalToBase decT = new DecimalToBase(int.Parse(hexD));

            return(decT.getDecimalToOctal());
        }
示例#2
0
        //Octal to Hexadecimal
        public string getOctalToHexadecimal()
        {
            //Octal to Decimal
            string decNum = getOctalToDecimal();

            //Decimal to Hexadecimal
            DecimalToBase decT = new DecimalToBase(int.Parse(decNum));

            return(decT.getDecimalToHexadecimal());
        }