Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm currently learning C# and was wondering if there are any sites that provide like an assigment to build working basic program, but has the full code available, so you could use it if you're completely lost.
I did maybe 20 ProjectEuler questions, but they're mostly math questions and I really need some practice in building actual programs, because now after reading few C# books i still have very limited understanding how to make the whole interconnected systems.
Thanks for any suggestions
This type of question is a good case for 2 things that are useful. One: an imagination. Think very carefully of normal tasks you do every day that could be accomplished or simplified by writing a program. If none exist (which is likely) then this is where the second option comes in to play. It requires a little explanation though. One practice that is starting to become more popular (but also has a lot of discussion about how to do it properly) is Test Driven Development (TDD). Now I'm not going to tell you how to do TDD, nor am I going to say go down that path. One of the excercises though to get used to TDD is what is helpful though. They call it a Kata. In America we would call it a drill, or excercise. Something we repeate frequently to drive home the point. (Anyone remember multiplication table drills?)
Anywho. What is nice about this is that the test framework (NUnit) is a very easy to understand system of pass or fail. You'll know if you got the code right. Since the majority of all programs is the logic and implementation, and in comparison little is on the view of the program it isn't a bad place to start. To help with this if you look into NuGet you can download two very small packages. Nunit, and Nunit test runner. With those two packages you can run a Nunit test inside Visual Studio easily and with hardly any setup. One of my favorite Kata's to do is the Bowling Score Keeper. In my opinion writing tests to learn a language is a very effective tool in learning it. You'll learn by doing, and you'll have the same language telling you if you did it right or not.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm in the process of learning C# and have a firm grasp of Java, and almost two decades ago VB6. I'm jumping straight into Windows desktop applications and wonder what alternatives there are to WPF?
Anything recent, that would be more relevant to spend time learning?
I did find a thread here, but wonder if there has been any changes. For instance, Silverlight is all, but seemingly abandoned.
Background: I hold a BS degree in Computer science, but it has been about 5-years since I have been in the technology industry and would like to jump back into a programming career. As a start I would like to build a portfolio.
In general, WPF is the best option for Desktop development on Windows. There is nothing else that comes close.
The main "alternative" would be if you wanted to target Windows Store applications, in which case you'd use the Windows Store development model. This is still XAML based (as are all of the new Microsoft UI technologies), so WPF knowledge transfers over fairly well.
If you are solely looking at c# native UI development, I think your only alternative would be WinForms. Personally I think that WPF is a lot more flexible and easier to work with when you get a grasp on it, and it's very friendly to expansion if you want to write your own extensions. WinForms can arguably be more basic and easy to learn, but you won't achieve the same level of flexibility and extension.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have been doing UML diagrams on paper for awhile now, but I want to start doing it digitally for obvious reasons. I have used many bits of software that can do this, but some are over complicated and some just are not intuitive.
I should point out that I am a .Net programmer, so I don't use Eclipse :(
Can anyone suggest some good UML designers that are free? Online or desktop apps are fine.
You could try GenMyModel, it is online.
Having tried several ones, my choice would be Modelio, which is easy to handle and quite complete.
But it depends what exactly you want to do with it. Core Modelio is free, but some additionnal functionalities are not (I'm not exactly sure which ones, but I suppose code generation would be in the list Edit : Java generation is free but C# is not... sigh...).
ArgoUML is old but still reliable and standalone: http://argouml.tigris.org/
You now have Eclipse UML plugins which are free: https://stackoverflow.com/questions/390438/good-free-uml-tool-for-java-eclipse
A good long list is available at http://en.wikipedia.org/wiki/List_of_Unified_Modeling_Language_tools
Which ones are good is beyond me though. I suggest trying them out and keep the one that is the easiest for you to use.
UML Software as bouml are good,
but I recommand you Eclipse + Ecore / Ecore diagram technologies : You can draw your model and with acceleo generate code automatically.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I would like to ask you all about the Unity framework and programming. Unity supports three different languages; Boo, C# and Unityscript. Say you were new to programming and developing on OS X.
What is the best language to learn and use alongside Unity to create games?
First of all, it's a matter of taste. All 3 languages are fully capable. It's also worth mentioning that performance-wise there is no significant difference.
So, which one? You'll have to choose for yourself.
Perhaps this would help:
C#:
pros:
well known, easy to find people who know it
strict (find mistakes during compile time)
usable code bits may be found online, even outside Unity's context
cons:
why so serious?
UnityScript (not really JavaScript):
pros:
easy to learn quickly
cons:
not strict (find mistakes late - only during run-time)
Boo:
pros:
beautiful syntax (pythonesquely clean)
strict (find mistakes during compile time)
cons:
not many people use it (so if you're hiring...)
For me, a web developer, Javascript was easiest to use. I use C# when I need to, but Javascript is fastest for me and I don't notice any performance hits.
You can check out this thread on the Unity forums for choosing a language to work with:
http://forum.unity3d.com/threads/18507-Boo-C-and-JavaScript-in-Unity-Experiences-and-Opinions
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
(I asked this question but did not receive much response. It was recommended that I ask the same question with regards to C#. )
I am a VB.NET developer with little C# experience (yes, I know I need to write more in C#), looking for small open source projects that demonstrate high unit testing coverage from which to learn.
I'm looking for small projects because I don't want to have to wade through a ton of code to get a better understanding of how to apply unit testing in my own situation, in which I write mostly IT business apps used internally by my company.
UPDATE: Original question that got me asking about this is here
My MiscUtil library has variable test coverage - some parts are very thoroughly tested, and others were written before I knew about unit testing.
If you wanted to learn by writing some tests for the uncovered stuff, you'd be very welcome :)
It's a big of a grab-bag of useful bits and pieces - which is handy in some ways, as you can take almost any bit and study it on its own. There's no "overall architecture" to learn.
I recommend looking at CarTrackr it has a wide range of .Net technologies that a developer should be familiar with (Unity, MVC framework especially) and has extensive unit testing. The project is simple enough to digest in 1 sitting but complex enough to actually be more than a proof-of-concept. Their codeplex url is at http://www.codeplex.com/CarTrackr
Try looking at FileHelpers (http://www.filehelpers.net/). I recently had to make an edit to it and found the source code easy to wade through. It has a large number of tests.
this link is related to Silverlight but the concepts are probably very similar (from a TDD'ish point of view): http://www.jeff.wilcox.name/2008/11/04/test-framework-source/
My GeoNames .NET WCF Client
codecampserver.org
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for a technique or tool which we can use to obfuscate or somehow secure our compiled c# code. The goal is not for user/data security but to hinder reverse engineering of some of the technology in our software.
This is not for use on the web, but for a desktop application.
So, do you know of any tools available to do this type of thing? (They need not be free)
What kind of performance implications do they have if any?
Does this have any negative side effects when using a debugger during development?
We log stack traces of problems in the field. How would obfuscation affect this?
This is a pretty good list of obfuscators from Visual Studio Marketplace
Obfuscators
ArmDot
Crypto Obfuscator
Demeanor for .NET
DeployLX CodeVeil
Dotfuscator .NET Obfuscator
Semantic Designs: C# Source Code Obfuscator
Smartassembly
Spices.Net
Xenocode Postbuild 2006
.NET Reactor
I have not observed any performance issues when obfuscating my code. If your just sending text basted stack traces you might have a problem translating the method names.
There are tools that also 'deobfuscate' obfuscated DLLs - I'd suggest turning the piece that needs to be protected into an unmanaged component.
http://xheo.com/products/code-protection
Done the job for me in the past.
You are wasting your time going down that path. If you have code that you don't want anyone to see, you need to keep it behind closed doors. For example, only execute that code on your own server using a web service interface.
Obfuscating your code only deters the most casual of people. As the video game industry leaned a long time ago, no code is safe from cracking.