Above -or below- is the c# code that does the same thing as the VB code in the video, things are different with c# because the name of the program itself is considered an argument and because there is no such thing as "My" name space alias that makes life easier for VB programmers.
(The code looks messy because of the limit number of characters I am allowed to post!).
This has been flagged as spam show
Cool!
Thanks!
sajidctn 2 years ago
great video man
and your English is CHARMING btw
MeSuTharm 3 years ago 3
Excellent video!
How long did it take you to build up such an extensive knowledge of computers?
Your videos are really helping me man, thank you.
eddeathonation 3 years ago
Is doing this in c# is similar?
dima9917 3 years ago
private void Form1_Load(object sender, EventArgs e){StringBuilder s=new StringBuilder(); for(int i=1; i<Environment.GetCommandLineArgs().Length;i++){s.Append(Environment.GetCommandLineArgs()[i]); s.Append(" ");} s.Remove(s.Length - 1, 1);label1.Text=s.ToString();} private void Form1_Click(object sender, EventArgs e){for(int i=1; i<Environment.GetCommandLineArgs().Length;i++){MessageBox.Show(Environment.GetCommandLineArgs()[i]);}}
youhakim 3 years ago
dima9917, Thanks for your comment :)
Above -or below- is the c# code that does the same thing as the VB code in the video, things are different with c# because the name of the program itself is considered an argument and because there is no such thing as "My" name space alias that makes life easier for VB programmers.
(The code looks messy because of the limit number of characters I am allowed to post!).
youhakim 3 years ago
Its Working!
Cool!
Thanks!
dima9917 3 years ago
Great video.
dima9917 3 years ago