Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
UINT32toHEX
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here int decValue = -94; // Convert integer 182 as a hex in a string variable string hexValue = decValue.ToString("X"); // Convert the hex string back to the number int decAgain = int.Parse(hexValue, System.Globalization.NumberStyles.HexNumber); Console.WriteLine(hexValue); Console.WriteLine(decAgain); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
remove dups
Singleton Design Pattern
Daily Coding Problem: Problem #2
Swap 2
Coding Club 1-16-18
rzError
General.cs
Full text search using Linqdb
dxcsdfcsasxd
Finding occurances of a value in the elements of a list
Please log in to post a comment.