VB.NET to C#

  • Thread starter Thread starter Juan Irigoyen
  • Start date Start date
J

Juan Irigoyen

I have this code in VB

Dim CallbackThread As New Thread(AddressOf Me.ThreadProc)

CallbackThread.Start()

How I traslate (AddressOfMe) to C#
 
Thread callbackThread = new Thread(new ThreadStart(ThreadProc));
callbackThread.Start();

I also *highly* recommend you pick up a beginning C# book, as you won't be
able to get people to translate the entire thing for you.
 
Back
Top