请问VB.NET编码有帮助吗? [英] VB.NET coding help please?
本文介绍了请问VB.NET编码有帮助吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我必须编写一个程序,用于使用线程添加两个数字。这是我第一次使用线程。我不确定如何使用它但到目前为止是否正确?
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?
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()
推荐答案
您现在Google是您最好的朋友:\"VB.NET多线程教程 [ ^ ]。
You now Google is your best friend: "VB.NET multithreading tutorial"[^].
时间移动网址请关注并阅读alticle。这将根据您的问题提供大量信息
http://msdn.microsoft.com/en-us/library/eed6swsx(v=vs.90).asp
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
您可以从以下开始:
http:// visualbasic。 about.com/od/usingvbnet/a/threadingintro.htm [ ^ ]
http://www.vbforums.com/showthread.php?682082-Understanding-多线程在VB-Net [ ^ ]
You can start with:
http://visualbasic.about.com/od/usingvbnet/a/threadingintro.htm[^]
http://www.vbforums.com/showthread.php?682082-Understanding-Multi-Threading-in-VB-Net[^]
这篇关于请问VB.NET编码有帮助吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文