Advertisement
Guest User

Untitled

a guest
Jun 10th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.57 KB | None | 0 0
  1.   Dim time As DateTime = DateTime.Now
  2.         Dim text As String = "1234567890qwertyuiopgthybvcc1234567890qwertyuiopgthybvcc"
  3.         For index = 1 To 500
  4.             text = StrReverse(text)
  5.         Next
  6.  
  7.         Console.WriteLine(DateTime.Now.Subtract(time).TotalMilliseconds & " Miliseconds")
  8.  
  9.         time = DateTime.Now
  10.         text = "1234567890qwertyuiopgthybvcc1234567890qwertyuiopgthybvcc"
  11.  
  12.  
  13.         For index = 1 To 500
  14.             text = nReverse(text)
  15.         Next
  16.         Console.WriteLine(DateTime.Now.Subtract(time).TotalMilliseconds & " Miliseconds")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement