C# - going from confident to proficient

~J~

~J~

Soldato
Joined
20 Oct 2003
Posts
7,558
Location
London
Straight to the question:

Have used VB since 1992, from V1 through to .Net Framework 3
Have used C# on and off for about 2 years although nothing major.

C#: I can get by on the syntax, I can go through the logic of a program, I can see what it's trying to achieve.

What I can't do however is understand about Public/Private/Global variables, some dedicated commands that I'd use often in VB like "InStr", "Split" and don't really feel confident in navigating Table Adapters like I am in VB.

I'm starting to edge towards 'desperate' in moving from Swansea back to London, and the latest job search for jobs with my skills WITHOUT C# yeilded about 5 results this week!

So...

How long do you think it would take for me to reach a more proficient level of C# based on my current experience with the language and past record?

I just want a prospective employer to say "OK well he's got over 15 years in VB, 10 in SQL, not done much in C# but he should be able to do it no probs"

Any thoughts?
 
To be honest it really shouldn't take much time at all.

You can help yourself by trying to wean yourself off the VB.NET functions such as Instr etc. by using the appropriate .NET framework methods in your VB code.
e.g. Instr -> string.IndexOf
Split -> string.Split

Both of these are instance methods on the String class. Pretty much all of the VB functions in the Microsoft.VisualBasic namespace exist as methods on the appropriate class and there's no real reason not to use them.

Not sure what the issue with Public/Private etc. is as the same concepts exist in VB.NET?
Only differences are shared -> static and friend -> internal IIRC.

The only other things that are particularly different are delegates (and events) in C# and some of the new stuff with lambdas in .NET 3.5
Most other stuff is pretty straightforward to convert.
 
Last edited:
Cheers.

Will look at the Delegates as I use them quite often, especially on the Mobile Devices side of things, and not even heard of Lambdas so will take a look.

It's just the final part of a global understanding of the language really, I'd feel extremely confident in writing a full system in VB.Net with the usual constructive criticism, but even writing a small C# program I think I'd be getting the "No no, should have done it this way, this method is far better, you don't need to do it that way" etc.

But thanks again, will have to knuckle down and start to make some progress.
 
Back
Top Bottom