Results 1 to 2 of 2

Thread: How would i add two numbers using threada from this code.

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2013
    Posts
    3

    How would i add two numbers using threada from this code.

    Im a newbie programmer and this is kind of code i did in the very beggening but i wanna know how to change this code to work with threads.
    Code:
    Module Module1
        Sub Main()
            Dim A, B As Integer
            A = 18
            B = 20
            Dim C As Integer
            C = A + B
            System.Console.WriteLine(C)
            Console.ReadKey()
        End Sub
    End Module

  2. #2
    Bad man! ident's Avatar
    Join Date
    Mar 2009
    Location
    Cambridge
    Posts
    5,401

    Re: How would i add two numbers using threada from this code.

    You wouldnt! why would you thread that....
    My Github - 1d3nt

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width