c# Programming Glossary: refactoring
new keyword in method signature http://stackoverflow.com/questions/1014295/new-keyword-in-method-signature keyword in method signature While performing a refactoring I ended up creating a method like the example below. The datatype..
What are the most important functional differences between C# and VB.NET? http://stackoverflow.com/questions/11632/what-are-the-most-important-functional-differences-between-c-sharp-and-vb-net out of the box code snippets for VB More out of the box refactoring tools for C# In general the things MS focuses on for each vary..
How to make Databinding type safe and support refactoring http://stackoverflow.com/questions/1329138/how-to-make-databinding-type-safe-and-support-refactoring to make Databinding type safe and support refactoring When I wish to bind a control to a property of my object I.. ™t get a compiler warning. If a rename the property with a refactoring tool it is likely the data binding will not be updated. I don.. are done in XML rather then C# c# .net data binding refactoring type safety share improve this question Thanks to Oliver..
Custom Compiler Warnings http://stackoverflow.com/questions/154109/custom-compiler-warnings I'm currently working on a project that requires a lot of refactoring an ex employees code. I want to write a custom attribute that..
Tools for generating UML class diagram from C# source or dll http://stackoverflow.com/questions/1600802/tools-for-generating-uml-class-diagram-from-c-sharp-source-or-dll than just diagrams it can be used for reverse engineering refactoring and the like. It's been going for a while now and has many great..
What tools and techniques do you use to find dead code in .NET? http://stackoverflow.com/questions/162641/what-tools-and-techniques-do-you-use-to-find-dead-code-in-net not missing out on other tools that would be helpful. c# refactoring share improve this question TDD NCover share improve this..
Method can be made static, but should it? http://stackoverflow.com/questions/169378/method-can-be-made-static-but-should-it make them static and move them to a utility class c# .net refactoring resharper static methods share improve this question Static..
Are there good reasons not to use an ORM? [closed] http://stackoverflow.com/questions/194147/are-there-good-reasons-not-to-use-an-orm queries vs. updating the mapping config and possibly refactoring the business classes and DTOs. Also using NHibernate you can..
Find unused code http://stackoverflow.com/questions/245963/find-unused-code code so I can remove all the unused functions c# .net refactoring share improve this question Yes ReSharper does this. Right..
Invert “if” statement to reduce nesting http://stackoverflow.com/questions/268132/invert-if-statement-to-reduce-nesting return normalPayAmount I've picked this code from the refactoring catalog . This specific refactoring is called Replace Nested.. this code from the refactoring catalog . This specific refactoring is called Replace Nested Conditional with Guard Clauses. share..
How to read a text file reversely with iterator in C# http://stackoverflow.com/questions/452902/how-to-read-a-text-file-reversely-with-iterator-in-c-sharp new method from there at the bottom. Oh and it needs refactoring there's one pretty hefty method as you'll see using System using..
The art of programming: Java vs C# [closed] http://stackoverflow.com/questions/610199/the-art-of-programming-java-vs-c-sharp better IDEs particularly in the realm of code refactoring where Visual Studio without Resharper is still lagging far behind..
Should C# methods that *can* be static be static? [closed] http://stackoverflow.com/questions/731763/should-c-sharp-methods-that-can-be-static-be-static methods static if they are must be static methods. The refactoring from non static to static is relatively easy just add a keyword.. outside of an instance then you can. However the inverse refactoring turning a can be static into a instance method is MUCH more..
Do you say No to C# Regions? [closed] http://stackoverflow.com/questions/755465/do-you-say-no-to-c-sharp-regions to organize your code such as partial classes or further refactoring of a class into multiple modules. tl dr Go ahead use #regions..
Best way to really grok Java-ME for a C# guy [closed] http://stackoverflow.com/questions/90578/best-way-to-really-grok-java-me-for-a-c-sharp-guy without debugging support it's just an editor with fancy refactoring tools. So any advice on how to blend in to Java ME c# blackberry..
How to write functionality using DDD / CQRS http://stackoverflow.com/questions/11095361/how-to-write-functionality-using-ddd-cqrs calls to other objects' repostiories in a domain object Refactoring domain logic that accesses repositories in a legacy system Which..
Refactoring code to avoid anti-pattern http://stackoverflow.com/questions/11224170/refactoring-code-to-avoid-anti-pattern code to avoid anti pattern I have a BusinessLayer project which..
Making Entity Class Closed for Changes http://stackoverflow.com/questions/11425993/making-entity-class-closed-for-changes for Total Amount i.e CouponValue should be zero . Refer Refactoring code using Strategy Pattern also. Note I am using .Net 4.0 Reference.. when using ObjectContext.AddObject with Entity Framework Refactoring code using Strategy Pattern Prefer composition over inheritance..
null objects vs. empty objects http://stackoverflow.com/questions/1628434/null-objects-vs-empty-objects on. The Introduce Null Object pattern in Martin Fowler's Refactoring page 260 may also be helpful. A Null Object responds to all..
Moving existing code to Test Driven Development http://stackoverflow.com/questions/167079/moving-existing-code-to-test-driven-development the various classes and functions depend upon each other. Refactoring without tests will introduce changes in behaviour i.e. bugs..
Confusing If Statement? http://stackoverflow.com/questions/2407617/confusing-if-statement that you can't change at least can't change right now... Refactoring is all well and good but I try and avoid refactoring too heavily..
Refactoring Singleton Overuse http://stackoverflow.com/questions/2925459/refactoring-singleton-overuse Singleton Overuse Today I had an epiphany and it was that I..
Refactoring Fibonacci Algorithm http://stackoverflow.com/questions/406446/refactoring-fibonacci-algorithm Fibonacci Algorithm I haven't used a statically typed language..
C# LINQ to SQL: Refactoring this Generic GetByID method http://stackoverflow.com/questions/735140/c-sharp-linq-to-sql-refactoring-this-generic-getbyid-method LINQ to SQL Refactoring this Generic GetByID method I wrote the following method. public..
What is your favorite use of Resharper? [closed] http://stackoverflow.com/questions/76499/what-is-your-favorite-use-of-resharper Base Alt Home in VS bindings Ctrl Alt B Goto Inheritor Refactoring features Ctrl Shift R Refactor This same F2 Rename Ctrl R R..
|