网站建设资讯

NEWS

网站建设资讯

c翻译成vb.net vb翻译代码大全

C语言转换为VB.NET

Option Explicit On

创新互联建站是一家专注于网站设计、成都网站建设与策划设计,太湖网站建设哪家好?创新互联建站做网站,专注于网站建设十载,网设计领域的专业建站公司;建站业务涵盖:太湖等地区。太湖做网站价格咨询:18980820575

Option Strict On

Imports System

Module Program

Sub Main()

Dim y,m,t As Integer

begin:

' 输入数据时一行一个

y=CInt(Console.ReadLine())

m=CInt(Console.ReadLine())

t=CInt(Console.ReadLine())

If y

200 Then

Console.WriteLine("ERROR")

goto begin

End If

pr(y,m,t)

Console.Write("Press any key to continue . . . ")

Console.ReadKey(True)

End Sub

Function pr(y As Integer,m As Integer,t As Integer) As Integer

Dim ye,[Me],i As Integer

ye=CInt((m+t-2)/12+y)

[Me]=(m+t-2) Mod 12+1

End If

End Function

Function mday(y As Integer,m As Integer) As Integer

Dim day As Integer()={0,31,28,31,30,31,30,31,31,30,31,30,31}

Dim ad As I

求租:C#翻译到vb.net

private withevents connectWork as new BackgroundWorker()

addhandler connectWork.DoWork addressof connectWork_DoWork

C#.NET 类 冒号 翻译成VB.NET

意思是Game1继承自Microsoft.Xna.Framework.Game类

对应的VB.NET代码为

Public Class Game1

Inherits Microsoft.Xna.Framework.Game

求把这句C语言翻译成VB.net

Public Overrides Sub VerifyRenderingInServerForm(control As Control)

'MyBase.VerifyRenderingInServerForm(control)

End Sub


网页标题:c翻译成vb.net vb翻译代码大全
文章URL:http://njwzjz.com/article/doepihg.html