Dump() to dislpay in hexadecimal format
Hi,
is there an easier way to display a variable with Dump() than Dump(String.Format...)?
Something like var.Dump("X")...?
Thanks,
Michael
is there an easier way to display a variable with Dump() than Dump(String.Format...)?
Something like var.Dump("X")...?
Thanks,
Michael
Comments
12345.ToString("X").Dump();
If this is too much trouble, you could write an extension method in 'My Extensions' called ToHex that calls ToString("X").
(Or you could write a DumpF extension method).