Also the benchmarks on The Computer Language Benchmarks Game have solutions in c# (mono). They encourage people to contribute faster solutions and by looking at them you can learn good performance-tuning tips.
Finally, if you're coming from another programming language and want to compare ways of solving common tasks, sites like Rosetta Code or langref are precious. They are also good to just learn how to do common things in a new language or as a reference (or indeed as preparation to common interview questions)
发布评论
评论(4)
当然是 stackoverflow.com :) - 只是阅读这个网站上的 q 和 a 让我有不同的想法。
通过练习、问题和谜题学习 C#
stackoverflow.com, of course :) - just reading the q and a on this site makes me think a different way.
Learning C# with exercises, questions and puzzles
尽管它不是特定于 C# 的,Project Euler 非常有趣。
Although it's not specific to C#, Project Euler is a lot of fun.
您可以在 C# 中找到许多针对 project Euler 挑战的解决方案。这是一项资源: http://archive.msdn.microsoft.com/projecteuler
还有基准测试计算机语言
Benchmarks Game 有 C#(单声道)解决方案。它们鼓励人们贡献更快的解决方案,通过查看它们,您可以学到良好的性能调整技巧。
最后,如果您来自其他编程语言并且想要比较解决常见任务的方法,请访问 Rosetta Code 等网站 或 langref 很珍贵。他们也很好地学习如何用新语言做常见的事情或作为参考(或者实际上作为常见面试问题的准备)
you can find a lot of solutions in c# to project Euler challenges. This is one resource: http://archive.msdn.microsoft.com/projecteuler
Also the benchmarks on The Computer Language
Benchmarks Game have solutions in c# (mono). They encourage people to contribute faster solutions and by looking at them you can learn good performance-tuning tips.
Finally, if you're coming from another programming language and want to compare ways of solving common tasks, sites like Rosetta Code or langref are precious. They are also good to just learn how to do common things in a new language or as a reference (or indeed as preparation to common interview questions)
StackExchange 站点:编程难题和编程难题代码高尔夫
A StackExchange site: Programming Puzzles & Code Golf