I\'m trying to replace simple enums with type classes.. that is, one class derived from a base for each type.So for example instead of:
I\'ve got some code that looks like this, public void ResetControls(Control controlOnPage) { if (controlOnPage is TextBox)
What is the easiest way of pulling an existing method out of its class and into a n开发者_JAVA技巧ew class using Visual studio 2010 / Resharper?
I would be appreciative if someone could explain to me the difference between the following two pieces of code in terms of Visual Studio\'s Code Metrics rules. Why does the Maintainability Index incre
I have a table that looks like this: <table name=\"exercises\" id=\"workout-table\"> <tr> <th>Name</th>
What is the best tool(s) for tracking down \"cut and paste reuse\" of code in JavaScript and C#? I\'ve inherited a really big project and the amount of code that is repeated throughout the app is \'ep
I want to get your opinion on this. I have a class which is derived from a base class.I don\'t have control over the code in the base class and it is critical to the system that I derive from it.
we have application where database contains large parts of business logic in triggers, with a update subsequently firing triggers on several other tables. I want to refactor the mess and wanted to sta
I have the following F# function which makes use of a ref variable to seed and keep track of a running total, something tells me this isn\'t in the spirit of fp or even particular clear on its own.I\'
My team and I are using svn branches for the first time.Before, we use to work only from the trunk. Over the past 2 weeks, we\'ve been refactoring and developing new code against our branch.But durin