¡@

Home 

c# Programming Glossary: complexity

Program to find prime numbers

http://stackoverflow.com/questions/1510124/program-to-find-prime-numbers

that the sieve of Eratosthenes has much better run time complexity than trial division should run much faster for bigger num values..

Open source cad drawing (dwg) library in C#

http://stackoverflow.com/questions/169390/open-source-cad-drawing-dwg-library-in-c-sharp

If you decide to compete with them then that's another complexity you have to look forward to. I am also developing a product..

Which .NET Dependency Injection frameworks are worth looking into? [closed]

http://stackoverflow.com/questions/21288/which-net-dependency-injection-frameworks-are-worth-looking-into

are worth looking into And what can you say about their complexity and speed. c# .net dependency injection inversion of control..

When to Use Static Classes in C#

http://stackoverflow.com/questions/241339/when-to-use-static-classes-in-c-sharp

same time. Also if a method has grown to this amount of complexity it most likely needs to be in its own class anyways. Demanding..

Why is lock(this) {…} bad?

http://stackoverflow.com/questions/251391/why-is-lockthis-bad

designer creator knowing about it. This increases the complexity of multi threaded solutions and might affect their correctness...

In what areas might the use of F# be more appropriate than C#? [closed]

http://stackoverflow.com/questions/2785029/in-what-areas-might-the-use-of-f-be-more-appropriate-than-c

engine was written in F#. The use of F# to address the complexity at the heart of this application clearly demonstrates a sweet..

What guarantees are there on the run-time complexity (Big-O) of LINQ methods?

http://stackoverflow.com/questions/2799427/what-guarantees-are-there-on-the-run-time-complexity-big-o-of-linq-methods

guarantees are there on the run time complexity Big O of LINQ methods I've recently started using LINQ quite.. a bit and I haven't really seen any mention of run time complexity for any of the LINQ methods. Obviously there are many factors.. on that STL containers for example clearly specify the complexity of every operation. Are there any similar guarantees on LINQ..

Why does C# forbid generic attribute types?

http://stackoverflow.com/questions/294216/why-does-c-sharp-forbid-generic-attribute-types

Lippert paraphrased no particular reason except to avoid complexity in both the language and compiler for a use case which doesn't..

Why can't yield return appear inside a try block with a catch?

http://stackoverflow.com/questions/346365/why-cant-yield-return-appear-inside-a-try-block-with-a-catch

an issue that can't be worked around but the added complexity in the compiler would be very significant. There are a few things.. to gain a little bit more freedom at the cost of extra complexity in the compiler. The team made the pragmatic choice for which..

Poor man's “lexer” for C#

http://stackoverflow.com/questions/673113/poor-mans-lexer-for-c-sharp

important for this thing and I don't want to introduce any complexity into the build process. c# regex lexer share improve this..

If strings are immutable in .NET, then why does Substring take O(n) time?

http://stackoverflow.com/questions/6742923/if-strings-are-immutable-in-net-then-why-does-substring-take-on-time

were the tradeoffs if any c# .net string substring time complexity share improve this question UPDATE I liked this question.. extract tiny substrings from tiny strings so how the complexity grows asymptotically is completely irrelevant . The long answer..

POCO vs DTO

http://stackoverflow.com/questions/725348/poco-vs-dto

than your actual domain. In a domain of any reasonable complexity you're almost always better off creating separate domain POCOs..

Write file from assembly resource stream to disk

http://stackoverflow.com/questions/864140/write-file-from-assembly-resource-stream-to-disk

approach if one is even available isn't likely to be a complexity changing effect e.g. O n to O log n and that's the type of performance..

Why is Multiple Inheritance not allowed in Java or C#?

http://stackoverflow.com/questions/995255/why-is-multiple-inheritance-not-allowed-in-java-or-c

because they reasoned that adding MI added too much complexity to the languages while providing too little benefit . For a.. Multiple implementation inheritance injects a lot of complexity into the implementation. This complexity impacts casting layout.. injects a lot of complexity into the implementation. This complexity impacts casting layout dispatch field access serialization identity..

Free C# metrics calculation library (DLL)

http://stackoverflow.com/questions/1052269/free-c-sharp-metrics-calculation-library-dll

libraries dlls that calculate CK metrics mainly Cyclomatic Complexity . I would need that for a project I'm planning to do. I know.. continue var r AvoidComplexMethodsRule.GetCyclomaticComplexity me Console.WriteLine 0 1 me.ToString r The project is described..

How to have userfriendly names for enumerations? [duplicate]

http://stackoverflow.com/questions/1331487/how-to-have-userfriendly-names-for-enumerations

8 answers I have an enumeration like Enum Complexity NotSoComplex LittleComplex Complex VeryComplex And I want to.. I create a helper class for the enum with one member Complexity and ToString overwritten like below code simplified public class.. overwritten like below code simplified public class ComplexityHelper public ComplexityHelper Complexity c string desc m_complex..

Determine AD password policy programmatically

http://stackoverflow.com/questions/4992474/determine-ad-password-policy-programmatically

For instance which characters are required to fullfill the Complexity policy Once I know this I can implement my own password check..