¡@

Home 

c# Programming Glossary: smells

TransactionScope automatically escalating to MSDTC on some machines?

http://stackoverflow.com/questions/1690892/transactionscope-automatically-escalating-to-msdtc-on-some-machines

the SqlConnection can't easily be passed around...it just smells of global SqlConnection instance. Pew Update 3 Just to clarify..

Building a LINQ query programatically without local variables tricking me

http://stackoverflow.com/questions/190227/building-a-linq-query-programatically-without-local-variables-tricking-me

in it's Attributes property also a collection . To me this smells like a is overwritten somewhere with each trip trough the loop..

C# Code Smells. What are the most common and how to fix them? [duplicate]

http://stackoverflow.com/questions/2903635/c-sharp-code-smells-what-are-the-most-common-and-how-to-fix-them

thing I'd like to hear from you guys is what are the code smells that you see most often happen on C# code and how to fix them... I'd like to include a section with the most common C# code smells and a possible fix for each of them. I'd like the assistance.. this list for further reference. What are the most common smells you have seen on C# code How did you fix them Please add one..

Unity 2.0 and handling IDisposable types (especially with PerThreadLifetimeManager)

http://stackoverflow.com/questions/5129789/unity-2-0-and-handling-idisposable-types-especially-with-perthreadlifetimemanag

this question Looking at the Unity 2.0 source code it smells like the LifetimeManagers are used to keep objects in scope..

Listing all permutations of a string/integer

http://stackoverflow.com/questions/756055/listing-all-permutations-of-a-string-integer

permutation share improve this question First of all smells like recursion of course Since you also wanted to know the principle..

Non-unique enum values

http://stackoverflow.com/questions/8043027/non-unique-enum-values

enum so I'm not worried about trying to go back but this smells funky. Why does the CLR allow multiple values for enums and..