Well, same goes for me, i just don't get the license for VS lolQuote:
I got the license for free because I'm currently learning in an IT school. I'm going to become a real programmer thus it isn't just my hobby.
Retard. C++ is used by many people (most implementations lack a lot though, imo), but for beginners, I would NEVER EVER recommend it.Quote:
Dont use this shit, instead of it learn c++.
I never caps-raged in my whole life.Quote:
After every my post you have to reply against me, grow up kid.
True, but a language can't be slow.Quote:
Not in what you can create but in speed it sure has. vb6 is way slower than C++ and the development time of each language is different.
I'm going to state some facts and my opinion, but don't see this as criticism on your opinion, it's your opinion.Quote:
Vb.net and c# are both .net languages so they look just similiar. I advise you starting from vb.net , in time you will already see alot of c# projects and will comfortably code both. But still , you should prefer vb.net because some of things are easier and shortcuts etc in language , but as i said it doesnt matter at all choose what you want to.
Ps . I started in vb.net and im still coding there , well even tho im not a pro i can comfortably read and write c# but i still love vb.net ( don't know , preferring writing Hex instead of conversions.touint16 , lol )
Imports System Public Class Form1 Dim hello As String = "Hello" & ControlChars.NewLine & "World" Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click MessageBox.Show(hello) End Sub End Class
using System; public class Form1 { string hello = "Hello\nWorld"; private void Button1_Click(Object sender, EventArgs e) { MessageBox.Show(hello); } }
Nice. I wanna say something about this.Quote:
I'm going to state some facts and my opinion, but don't see this as criticism on your opinion, it's your opinion.
"Vb.net and c# are both .net languages so they look just similiar."
This isn't true. VB wasn't designed for the .Net framework but C# was.
Between these languages, there are many differences including keywords, operators, 'punctuation marks', etc.
However, since they both use .Net, the classes/modules/structs they use are the same.
(Not entirely since a My namespace is generated (or added?) in a VB.Net executable.)
"you should prefer vb.net because some of things are easier and shortcuts etc"
That's not really true imo.
Compare these code snippets:
VB.Net:C#:Code:Imports System Public Class Form1 Dim hello As String = "Hello" & ControlChars.NewLine & "World" Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click MessageBox.Show(hello) End Sub End Class(Note that a little piece has to be added to the C# designer code to handle the event. The designer does this automatically, though.)Code:using System; public class Form1 { string hello = "Hello\nWorld"; private void Button1_Click(Object sender, EventArgs e) { MessageBox.Show(hello); } }
Specifying what to close ("End Sub"), using a keyword to pass as value ("ByVal"), not having character escaping ("\n" in C# and "& ControlChars.Newline &" in VB.Net makes your code a lot longer.
"but as i said it doesnt matter at all choose what you want to"
I beg to differ.
Since C# uses syntax similar to C, it's easier for C# coders to learn C, C++, Java, and other languages using C-like syntax.
If you want to stay with VB.Net or C#, which wouldn't be a bad choice imo, it of course does not matter since both languages have about the same functionality.
Public Class Form1 Dim hello As String = "Hello" & vbNewLine & "World" Private Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click MsgBox(hello) End Sub End Class
Hehe, very true. For a small piece of const text, this is no problem.Quote:
Nice. I wanna say something about this.
Im not very longer coding with vb.net less then a year , like 9-10 months.
I saw alot of open-source C# projects , even tho i just read them , i can write c# now also. writing "\n" instead of "vbNewLine" is not a big difference ^^
"MyApplication <0.1>\n --help\tprint usage\n --first\tdoes something\n --second\t does something else\n"
I don't really understand what you mean there.Quote:
Also I think errors are more specific in vb.net :)
Error list error texts , i mean , when you do something wrong , it appears in errorlist. I mean that error's list. [ even though most of exception texts are same ]Quote:
I don't really understand what you mean there.
Could you give an example?
.tostring
Pretty sure it's the same in VB.Net and C#.Quote:
Error list error texts , i mean , when you do something wrong , it appears in errorlist. I mean that error's list. [ even though most of exception texts are same ]
It makes more stuff possible.Quote:
Btw, Case sensitive thingy makes C# hell for me . Also i just prefer writingfor example and vb will make it ToString() for me :)Code:.tostring
But in C# i should exactly write ToString() :o
class MyClass { public int MyValue { get; set; } public MyClass(int myValue) { MyValue = myValue; } }