What is some truly beautiful source code that I can browse, maybe on Codeplex.com?
I am in the process of getting as good at C# as I can, and I would love to know what code I can look at and know I am looking at some beautiful code worthy of emulating.
Exact Duplicate: Open source C# projects that have very high code quality to learn from
-
I think the code of SharpDevelop can't be that bad. There are almost all kinds of usage that C# can offer anywhere in that code. Another argument is the implementation of the plugin/addon system.
Edit: The Addon System is called "SODA" and there's a documentation here.
Alex Baranosky : +1 for a concise answer, I'll be checking it outFrom Peter -
You shouldn't be looking for something specific to emulate, but rather, trying to gather a set of guidelines to follow so that your code remains consistent, readable, well documented and understandable. That way, if anyone has to maintain it, or you have to return to it later, you're able to get back in the saddle as painlessly as possible.
Here are the C# Guidelines that Microsoft uses. Let this be your starting point.
From Soviut -
I haven't looked at it personally, but have heard Paint.Net is an excellent example of C# code.
Update: it turns out the source code is no longer available.
Alex Baranosky : I went to their site and they say the source code is not available.John T : no longer open sourcemcaaltuntas : And They say that it is not open sourcepeSHIr : See also http://stackoverflow.com/questions/449883/where-to-find-paint-net-multithreading-white-paperFrom dmo -
Check CSharp-Source.NET, there's a good list of open source projects developed in C#.
From CMS -
Have a look at the website of mono , the open source project implementing both C# and the .NET framework in open source. This is probably the center of open source C# development.
From Roalt
0 comments:
Post a Comment