Click here to Skip to main content
15,885,366 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to write a program for adding two numbers using threads. This is my first time to use threads. I am not exactly sure how to use it but is this correct so far?

VB
Module Module1
      Sub ThreadA()
        Dim A As Integer = 5
            System.Console.Write("5")
        Next
End Sub
Sub ThreadB()
        Dim B As Integer = 4
            System.Console.Write("4")
        Next
End Sub
Sub Main()
Posted

You now Google is your best friend: "VB.NET multithreading tutorial"[^].
 
Share this answer
 
time to shift the url please follow and read the alticle.this will provide lot of information according to your question
http://msdn.microsoft.com/en-us/library/eed6swsx(v=vs.90).asp
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900