使用旧的C#教程是否有害 [英] Is it harmful to use old C# tutorials

查看:97
本文介绍了使用旧的C#教程是否有害的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了学习c#我在Youtube上使用旧教程EG Kudvenkat



这些教程是从2010年开始的,当时c#3.0刚刚发布但是现在c#7.0已经发布了使用书籍S Svetlin Nakov,Veslin Kolev& Co的C#计算机编程基础。



从长远来看如果我使用这么老的教程还是可以学习c#



我的尝试:



 Svetlin Nakov,Veslin Kolev &安培; Co的计算机编程和Kudvenkat的基础

解决方案

我不会说他们不健康,只是有些功能已经过时而有些功能已经过时了添加 - 虽然一些是为了向后兼容。 C#语言本身是相同的,只是添加了一些语法糖来支持字符串插值,异步编程,值类型或引用类型的性能改进。



我相信C#的灵魂是相同的,提供了一种多范式的编程语言。这没有改变。做事方式有所改变,lambdas,async / await,LINQ和其他功能引入了令人惊奇的编写程序的新方法,在编译器上留下了实践。我建议继续阅读,因为,作为一个比喻,旧版本的C#教你如何进行异步编程,而较新版本的C#可以帮助你编写可读和可调试的异步代码。



无论如何,对于C#语言的功能和更新,请访问此链接并查看更改内容, C#的历史 - C#指南| Microsoft Docs [ ^ ]。我还建议使用Microsoft提供的教程,它们是最简单,直接和更新的教程;有时也不是初学友好的。



C#教程| Microsoft Docs [ ^ ]

C#指南| Microsoft Docs [ ^ ]


引用:

从长远来看,如果我使用这么老的教程,它会是一个问题吗?还可以学习c#



您只会错过该语言的最新成员,但初学者的概念保持不变。

以下是参考文献的链接由语言作者撰写的关于C和C ++的书籍。注意,C是C ++的祖先,所以知道C对C ++总是有用。

C编程语言 - 维基百科,免费的百科全书 [ ^ ]

https://hassanolity.files.wordpress.com/2013/11/the_c_programming_language_2。 pdf [ ^ ]

http://www.ime.usp。 br / ~pf / Kernighan-Ritchie / C-Programming-Ebook.pdf [ ^ ]



C ++编程语言 [ ^ ]


虽然其他解决方案建议引用C或C ++指南,两者都与C#共享类似的语法,但建议从这些指南开始。 C / C ++和C#之间存在显着差异。相反,第一个解决方案(来自Azfaal Ahmad Zeeshan)提供了更准确的链接。



我建议使用以下附加链接,其中突出显示添加的一些功能随着C#语言的发展。



C#的历史 - C#指南| Microsoft Docs [ ^ ]



C#中有什么新东西Microsoft Docs [ ^

For learning c# i use old tutorials E.G Kudvenkat on Youtube

These tutorials are from 2010 when c# 3.0 was only released but now c# 7.0 is released although i do use books E.G Svetlin Nakov, Veslin Kolev & Co's Fundalmentals of c# Computer Programming.

Will it be a problem in the long run if i use such old tutorials or is it ok for learning c#

What I have tried:

Svetlin Nakov, Veslin Kolev & Co's Fundalmentals of c# Computer Programming and Kudvenkat

解决方案

I will not say that they are not healthy, just that some features get outdated and some are added — while some are kept for backward compatibility. C# language itself is the same, just some syntactic sugars have been added to support string interpolation, asynchronous programming, performance improvements for value-type or reference-types.

I believe the soul of C# is same, providing a multi-paradigm programming language. That hasn't changed. Ways of doing things has changed a bit, lambdas, async/await, LINQ and other features introduce amazing new ways to write the programs, leaving practices on the compiler. I would recommend keep reading that, because, as a metaphor, older versions of C# teach you how asynchronous programming works, and newer versions of C# help you write readable and debuggable asynchronous code.

Anyways, for the features and updates in C# language please visit this link and check out what has changed,
The history of C# - C# Guide | Microsoft Docs[^]. I also recommend using the tutorials provided by Microsoft, they are simplest, straight-forward, and updated tutorials; sometimes not a beginner friendly ones too.

C# Tutorials | Microsoft Docs[^]
C# Guide | Microsoft Docs[^]


Quote:

Will it be a problem in the long run if i use such old tutorials or is it ok for learning c#


You will only miss the latest additions to the language, but the concepts stay the same for a beginner.
Here is links to references books on C and C++ by the authors of the languages. Note than C is the ancestor of C++, so knowing C is always useful with C++.
The C Programming Language - Wikipedia, the free encyclopedia[^]
https://hassanolity.files.wordpress.com/2013/11/the_c_programming_language_2.pdf[^]
http://www.ime.usp.br/~pf/Kernighan-Ritchie/C-Programming-Ebook.pdf[^]

C++ Programing Language[^]


While other solutions advise referencing C or C++ guides, both of which share a similar syntax with C#, I do not advise starting with those guides. There are significant differences between C/C++ and C#. Instead, the first of the solutions (from Azfaal Ahmad Zeeshan) provides more accurate links.

I suggest the following additional links, which highlight some of the features that were added as the C# language evolved.

The history of C# - C# Guide | Microsoft Docs[^]

What's new in C# | Microsoft Docs[^]


这篇关于使用旧的C#教程是否有害的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆