Your Ad Here Your Ad Here
Results 1 to 5 of 5

Thread: c# recommendations

  1. #1
    4play's Avatar knob jockey
    Join Date
    Jan 2003
    Location
    London
    Age
    35
    Posts
    5,530
    From what im seeing at the minute it seems the market for programmers has moved from Java to c# programmers so i thought i would try my hand at it.

    I have plenty of experience with c, c++, php and sql so it shouldn't be too much trouble to learn but was just wondering what peoples thoughts on it where. is it the right language to learn to get a job?

    any recommendations for tutorials and books would be helpful as well.

  2. Internet, Programming and Graphics   -   #2
    Snee's Avatar Error xɐʇuʎs BT Rep: +1
    Join Date
    Sep 2003
    Location
    on something.
    Age
    38
    Posts
    22,677
    In general it feels less powerful than java (hard to pin down exactly why, though), but if you know Java, you pretty much already know C#. Didn't even write any C# before passing an exam on it once (just wrote what I'd be doing in Java).

    Try playing around with threads a bit, and wrap everthing in trys, like.

    Like Barbarossa said a while ago, .net is where it's at ATM (or at least it was then), and C# is .net, so.

    Can't tell you for sure if it'll get a you job, but you can probably learn it very fast, and it never hurts to learn another language.


    Edit: As for literature, they had us using C# Software Solutions: Foundations of software design by John Lewis.

    VS express is free, if you need that. And I can try and find a site I used a lot to get examples I dismantled to learn how things worked, if you'd like.

    EDit: Meh, site.
    Last edited by Snee; 08-14-2007 at 01:16 PM.

  3. Internet, Programming and Graphics   -   #3
    4play's Avatar knob jockey
    Join Date
    Jan 2003
    Location
    London
    Age
    35
    Posts
    5,530
    thanks for the advice.

    I grabbed visual studio 2005 a while back so i just installed that. I cant find the book you recommended but i grabbed about 25 from alt.binaries.e-book.technical so hopefully one of them is decent.

    just been applying for lots of graduate trainee positions and lots of them seem interested in c# so might as well learn a bit.

  4. Internet, Programming and Graphics   -   #4
    I'm a full time software developer and recently learn C# (been doing java for years). It's a lot like Java but it does have some really nice new features, such as properties and the threading model. It does suck in some respects though, like no checked exceptions. It is very very similar to Java though, basically a Microsoft rip off with a few nice changes.

  5. Internet, Programming and Graphics   -   #5
    Snee's Avatar Error xɐʇuʎs BT Rep: +1
    Join Date
    Sep 2003
    Location
    on something.
    Age
    38
    Posts
    22,677
    I've got those exceptions under control, FTW.

    private void katalogFixare(TreeNode enNode)
    {
    int position = 0;
    try
    {
    try
    {
    try
    {
    DirectoryInfo katalog = new DirectoryInfo(enNode.FullPath + "/");

    filstorlekarna = new double[katalog.GetFiles().Length];
    filinfo1 = new string[katalog.GetFiles().Length];
    filinfo2 = new string[katalog.GetFiles().Length];
    filinfo3 = new string[katalog.GetFiles().Length];

    foreach (DirectoryInfo kat in katalog.GetDirectories())
    {
    TreeNode nyNode = new TreeNode();
    nyNode.Text = kat.Name;
    enNode.Nodes.Add(nyNode);

    try
    {
    try
    {
    try
    {
    DirectoryInfo underKatalog = new DirectoryInfo(nyNode.FullPath + "/");
    foreach (DirectoryInfo underKat in underKatalog.GetDirectories())
    {
    TreeNode nyareNode = new TreeNode();
    nyareNode.Text = underKat.Name;
    nyNode.Nodes.Add(nyareNode);
    }

    foreach (FileInfo underFil in underKatalog.GetFiles())
    {
    TreeNode nyareNode = new TreeNode();
    nyareNode.Text = underFil.Name;
    nyNode.Nodes.Add(nyareNode);
    }
    }
    catch (IOException)
    { }
    }
    catch (UnauthorizedAccessException)
    { }
    }
    catch (Exception exc)
    {
    mittKlassBibliotek.minAboutInfo.ohNoez(exc, "katalogFixare");
    MessageBox.Show(mittKlassBibliotek.minAboutInfo.errorError);
    }
    }
    foreach (FileInfo fil in katalog.GetFiles())
    {
    TreeNode nyNode = new TreeNode();
    nyNode.Text = fil.Name;

    listView.Items.Add(fil.Name);

    enNode.Nodes.Add(nyNode);

    filstorlekarna[position] = fil.Length;
    filinfo1[position] = fil.Name;
    filinfo2[position] = fil.Extension;
    filinfo3[position] = fil.CreationTime.ToString();
    position = position + 1;
    }
    }
    catch (IOException)
    { }
    }
    catch (UnauthorizedAccessException)
    { }
    }
    catch (Exception exc)
    {
    mittKlassBibliotek.minAboutInfo.ohNoez(exc, "katalogFixare");
    MessageBox.Show(mittKlassBibliotek.minAboutInfo.errorError);
    }
    }
    Last edited by Snee; 08-16-2007 at 02:06 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •