且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

一些练习题

更新时间:2023-02-03 22:37:25

请看我对这个问题的评论。



如你所见,如果你真的每次搜索对于练习问题他们要么属于c / c ++或python等等,它至少给你一个简单的方法来获得C#问题:采取这样的问题的表述,划掉单词C,C ++或Python并改写C#。从这一刻起,你就有了一些工作要做。 :-)



至于真正的新问题...对我来说,它们很难发明。非常。但是有很多众所周知的问题可以通过一些幻想和逻辑思维转化为一些计算机问题。我可以建议一个非常丰富的问题​​来源: books ://en.wikipedia.org/wiki/Martin_Gardner> Martin Gardner ,尤其是 数学游戏专栏



-SA
Please see my comment to the question.

As you can see, if really every time you search for practice problem "they either belong to c/c++ or python and others", it gives you at least one simple recipe for getting "C# problems": take the formulation of such problem, scratch out the words "C", "C++" or "Python" and write "C#" instead. From this moment, you got something to work at. :-)

As to the really new problems… to me, they are extremely hard to invent. Extremely. But there is a great number of well-known problems which you can transform into some computer problems by using some fantasy and logical thinking. I can suggest one very rich source of problems: many books by Martin Gardner, especially Mathematical Games columns.

—SA


为什么不尝试在.Net中实现相同的C ++问题。

无论如何,互联网上有许多编码实践问题。您甚至可以选择一个示例程序并自行实现。
Why not try to implement the same C++ problem in .Net.
In any case, there are many coding practice problems available on the internet. You can even pick up a sample program and implement it on your own.