CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 4 1234 LastLast
Results 1 to 15 of 51

Thread: Learning C#

Hybrid View

  1. #1
    Andy Tacker is offline More than "Just Another Member"
    Join Date
    Jun 2001
    Location
    55°50' N 37°39' E
    Posts
    1,503

  2. #2
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,754
    This link will be updated soon....


    Brad!
    -----------------------------------------------
    Brad! Jones,
    Yowza Publishing
    LotsOfSoftware, LLC

    -----------------------------------------------

  3. #3
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652
    Updated links to point to the new website...

  4. #4
    Join Date
    Feb 2004
    Posts
    6

    Thumbs up

    it's sooooooooooo kind of you

  5. #5
    Join Date
    May 2004
    Location
    Turkey/Kusadasi
    Posts
    3
    Thanks

  6. #6
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940
    Where's all the meat of this subject ?

    In actual fact you could expand this to include the same information in all the books on C#, covering classes, inheritance, events, delegates, custom attributes & their uses, garbage collection and how it works, remoting, using the web classes etc etc etc etc.

    How come as soon as we're talking about coding anything it's gone cold ?

    I could continue this FAQ if you wished...

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

  7. #7
    Join Date
    Nov 2003
    Location
    Sweden
    Posts
    129

    Yes, Please do so!

    O! I wish I wish!!!!
    Please continue the FAQ... I need it!
    Regards,
    Alexei

  8. #8
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,754
    I'm definitely wanting to continue this series as well as do one on other topics in a similar format.


    I was going to continue this set of FAQs myself; however, migrating the forums to a new version and other tasks have gotten in the way.

    If you are interested in continuing the series of articles, drop me an email with information on what you've done with C#.

    And, yes -- the series was just getting to the meat of the topic.

    Brad!
    Last edited by Brad Jones; June 25th, 2004 at 04:01 PM.
    -----------------------------------------------
    Brad! Jones,
    Yowza Publishing
    LotsOfSoftware, LLC

    -----------------------------------------------

  9. #9
    Join Date
    Jun 2004
    Posts
    7

    Continue the FAQ

    Oh yes, please !!! Should we post a petition on internet for enticing you to do it ?

  10. #10
    Join Date
    Nov 2003
    Location
    Sweden
    Posts
    129
    If we have to -- i will sign, and get about 200 signatures more :-)
    Regards,
    Alexei

  11. #11
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,754
    We are now working to continue / replace the current set of FAQs for C# and will eventually get additional ones going for C++, VB.NET, ASP.NET, and more.
    -----------------------------------------------
    Brad! Jones,
    Yowza Publishing
    LotsOfSoftware, LLC

    -----------------------------------------------

  12. #12
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940
    To be fair Brad, I really don't think I'm going to have time to do this.

    My first attempt was pretty dismal - I'd have to do loads of research and I've got enough on my plate at the moment as it is.

    So, sorry...

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

  13. #13
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,754
    Originally posted by darwen
    To be fair Brad, I really don't think I'm going to have time to do this.

    My first attempt was pretty dismal - I'd have to do loads of research and I've got enough on my plate at the moment as it is.

    So, sorry...

    Darwen.
    No problem. I know they will be a lot of work.

    Brad!
    -----------------------------------------------
    Brad! Jones,
    Yowza Publishing
    LotsOfSoftware, LLC

    -----------------------------------------------

  14. #14
    John E is offline Elite Member Power Poster
    Join Date
    Apr 2001
    Location
    Manchester, England
    Posts
    4,835

    Re: Learning C#

    I found the tutorials (right up at the top - first post) to be very useful but I have a few questions that might be common to newbies who are coming to C# and .NET from a C++ background. For example....

    1) Is it advisable to try and "convert" existing C++ projects to C# or is this just making life difficult? Is it better to leave existing projects as they are and start using C# only for new projects?

    2) If it's possible to convert existing projects are there any tools to help automate the process?

    3) Is there any easy way to relate the concepts of C# to their C++ counterparts. For example, a class is presumably the same thing in both. But I've seen C# classes with definitions like:-

    public class MyClass : Sytem.Windows.Forms.Design.ControDesigner

    Firstly, what does all that mean?? Secondly, it suggests that private classes are possible without having the class as a member of another class. True or false?

    4) The C# projects I've seen don't seem to have the equivalent of header files. Is that generally the case or not?

    5) Is there any "obj" level (i.e. intermediate level) compatibility between the two? For example, could a C++ project use C# objects at all or not? Are the two in any way inter-mixable?

    I guess there'll be other common questions too but that's probably enough to be going on with, for the moment !!!
    "A problem well stated is a problem half solved.” - Charles F. Kettering

  15. #15
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: Learning C#

    You're better off asking these questions in the forums really...

    In answer to your questions :

    (1) "public class" means that the class is accesible from outside the assembly. "internal class" means the class is only accessible from inside the current assembly. In executables it doesn't have much meaning.

    (2) System.Windows.Forms.Control is the name of the class including the namespace. You have namespaces in C++ seperated using :: - e.g. std::vector. In C# a period (full stop) is used.

    (3) Managed C++ can use class libraries (dlls) written in C# by the #using directive - sort of like #include only for class libraries. C# can use managed C++ assemblies by adding them as references to the project.

    (4) You can't mix up C# with C++ in one assembly.

    Any more questions like this should be put to the C# forum.

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

Page 1 of 4 1234 LastLast

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured