Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

hex string to int c#

string prefixedHex = "0x142CBD";
// this works, and returns 1322173
int intValue = Convert.ToInt32(prefixedHex , 16);
Source by theburningmonk.com #
 
PREVIOUS NEXT
Tagged: #hex #string #int
ADD COMMENT
Topic
Name
1+5 =