How To Create a Guid Without Dashes Using C#



TODO

Have you ever wanted a Guid and did not want the dashes?

 

SOLUTION:

 

string batchId = Guid.NewGuid().ToString("N");

 

 

NOTES:

There are no notes on this topic.



Pingbacks and trackbacks (1)+

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading