I am going to Migrate my project from Foxpro to dot Net Platform. My Project has lot of codings in the background database functions. Could you please suggest me which is the better option.Vb.net or C#.net ?
In terms of technical power, the languages are identical. Both are compiled to IL, so have exactly the same functionality available.
In terms of syntax. C# adopts a more C style syntax (with curly brackets and stuff) whereas vb.net adopts a syntax that is more verbose, it is very similar to the original visual basic languages, which is obviously derived originally from basic. This is mealy a matter of preference to be honest.
Finally, there is the culture. The communities of VB.net developers and C# developers are different, and different people fit best in different communities. This is mainly because of the origins of the languages, vb.net developers are largely those who have moved forward from VB6, whereas C# developers are largely those who have moved forward from either C++ or Java.
you can start process using c# by this way:
Process.Start("cmd",@"/c mysqldump --user=root --password=123 mysql > c:\db.sql -t");//useful
and you can stop the process usingC# by this way:
//you can use the function
private void KillProcess(string processName)
Process myproc= new Process();
foreach(Process thisproc in Process.GetProcessesByName(processName))