开发者

resource for migrating from C/C++ to C#

开发者 https://www.devze.com 2022-12-27 11:48 出处:网络
I know there\'s a lot of resource for this via google, but I just wanted to hear personally from people who have experienced this bef开发者_如何学Core. I\'ve programmed in C for 3 years and C++ for a

I know there's a lot of resource for this via google, but I just wanted to hear personally from people who have experienced this bef开发者_如何学Core. I've programmed in C for 3 years and C++ for a year and now I am moving to C#. I know this is not going to be a so hard transition but could you guys that had this same experience with me share resources on a good book, article, or blog to make my study experience more efficient. Any tips/tricks or gotchas when moving to C#?

Here's one article that I can find via google. Looking for more goodies from experienced developers here.


One piece of advice: don't try to use destructors in C# like you did in C++.

They look similar in both languages but they don't serve the same purpose. If you think you want a destructor in C#, you really probably want to implement IDisposable.


Richter's CLR Via C# book is the one that helped me to migrate.

0

精彩评论

暂无评论...
验证码 换一张
取 消