¡@

Home 

c# Programming Glossary: oop

Multiple Aggregates / Repositories in one Transaction

http://stackoverflow.com/questions/11445657/multiple-aggregates-repositories-in-one-transaction

paymentEntity repository.SubmitChanges c# oop design patterns domain driven design cqrs share improve this..

Get all associate/composite objects inside an object (in Abstract way)

http://stackoverflow.com/questions/11470037/get-all-associate-composite-objects-inside-an-object-in-abstract-way

c return allPayComps c# entity framework oop linq to sql domain driven design share improve this question..

A way of casting a base type to a derived type

http://stackoverflow.com/questions/124336/a-way-of-casting-a-base-type-to-a-derived-type

I was wondering if there was a way some sort of oop pattern would be nice to cast a base type to a form of its derived.. is there any way to accomplish something of this sort c# oop inheritance patterns share improve this question Not soundly.. . In general just redesign to avoid the problem. Edit Woops can't write conversion operators between base derived types...

What is an abstract class?

http://stackoverflow.com/questions/1912475/what-is-an-abstract-class

classes become NECESSARY if you know what i mean c# java oop share improve this question most commonly to serve as a..

Why does C# not provide the C++ style 'friend' keyword?

http://stackoverflow.com/questions/203616/why-does-c-sharp-not-provide-the-c-style-friend-keyword

access to exactly one other class c# c design patterns oop friend share improve this question Having friends in programming..

Class with single method — best approach?

http://stackoverflow.com/questions/205689/class-with-single-method-best-approach

task but only require one public method to do it. c# java oop static methods share improve this question I used to love..

Why Doesn't C# Allow Static Methods to Implement an Interface?

http://stackoverflow.com/questions/259026/why-doesnt-c-sharp-allow-static-methods-to-implement-an-interface

names. public string ScreenName return name .... c# oop language features share improve this question Assuming you..

Is method hiding ever a good idea

http://stackoverflow.com/questions/2663274/is-method-hiding-ever-a-good-idea

any situations where method hiding is the best choice c# oop share improve this question There are rare but very good..

Getters and Setters are bad OO design?

http://stackoverflow.com/questions/2747721/getters-and-setters-are-bad-oo-design

what other alternatives can be used Thanks. c# java oop design encapsulation share improve this question Getters..

What is the difference between an abstract function and a virtual function?

http://stackoverflow.com/questions/391483/what-is-the-difference-between-an-abstract-function-and-a-virtual-function

virtual or abstract Which is the more correct approach c# oop programming languages share improve this question An abstract..

Why are constructors not inherited?

http://stackoverflow.com/questions/426484/why-are-constructors-not-inherited

Would someone please enlighten me c# inheritance oop share improve this question Sometimes when subclassing you..

Calling virtual method in base class constructor

http://stackoverflow.com/questions/448258/calling-virtual-method-in-base-class-constructor

o new ChildObject o.LoadState definition c# java c oop share improve this question This answer applies to C# and..

Main method code entirely inside try/catch: Is it bad practice?

http://stackoverflow.com/questions/4827628/main-method-code-entirely-inside-try-catch-is-it-bad-practice

this is bad practice. Do you think it is bad practice c# oop programming languages exception handling try catch share improve..

Why can't I create an abstract constructor on an abstract C# class?

http://stackoverflow.com/questions/504977/why-cant-i-create-an-abstract-constructor-on-an-abstract-c-sharp-class

why C# does not let you do this. c# inheritance oop constructor abstract class share improve this question You..

Large Switch statements: Bad OOP?

http://stackoverflow.com/questions/505454/large-switch-statements-bad-oop

go I'd appreciate your thoughts opinions or comments. c# oop design patterns share improve this question You may get..

What is the difference between a reference type and value type in c#?

http://stackoverflow.com/questions/5057267/what-is-the-difference-between-a-reference-type-and-value-type-in-c

Can you explain it to me in a professional way c# .net oop value type reference type share improve this question Your..

Is there an alternative to bastard injection? (AKA poor man's injection via default constructor)

http://stackoverflow.com/questions/6733667/is-there-an-alternative-to-bastard-injection-aka-poor-mans-injection-via-defa

better option #1 or #2 just don't seem worth it. c# .net oop dependency injection constructor share improve this question..

Why are private fields private to the type, not the instance?

http://stackoverflow.com/questions/6983553/why-are-private-fields-private-to-the-type-not-the-instance

like this or something would be completely impossible c# oop language design language features private members share improve..

Is there a much better way to create deep and shallow clones in C#?

http://stackoverflow.com/questions/8025890/is-there-a-much-better-way-to-create-deep-and-shallow-clones-in-c

return T formatter.Deserialize stream c# .net oop cloning share improve this question MemberwiseClone is not..

Making Entity Class Closed for Changes

http://stackoverflow.com/questions/11425993/making-entity-class-closed-for-changes

using Unity C# Strategy Design Pattern by Delegate vs OOP How to use the Strategy Pattern with C# Inheritance with EF..

Writing driver class generic for any database support

http://stackoverflow.com/questions/13133804/writing-driver-class-generic-for-any-database-support

What's the correct alternative to static method inheritance?

http://stackoverflow.com/questions/1380087/whats-the-correct-alternative-to-static-method-inheritance

inheritance there's a flaw in your design . OK given that OOP doesn't want me to even think about static inheritance I must..

Why are .NET value types sealed?

http://stackoverflow.com/questions/1769306/why-are-net-value-types-sealed

C you can actually cause this behaviour. For that reason OOP in C only works on pointers and references not on value types..

C# constructor chaining? (How to do it?)

http://stackoverflow.com/questions/1814953/c-sharp-constructor-chaining-how-to-do-it

is how do you chain constructors in c# I'm in my first OOP class so I'm just learning. I don't understand how constructor..

Why does C# not provide the C++ style 'friend' keyword?

http://stackoverflow.com/questions/203616/why-does-c-sharp-not-provide-the-c-style-friend-keyword

EDIT Let me clarify how the friend keyword undermines OOP. Private and protected variables and methods are perhaps one.. and methods are perhaps one of the most important part of OOP. The idea that objects can hold data or logic that only they..

Class vs. Interface

http://stackoverflow.com/questions/2271104/class-vs-interface

wikipedia article Read a book then read the chapters about OOP again In your example Person should be a class because it contains..

Are global static classes and methods bad?

http://stackoverflow.com/questions/3151768/are-global-static-classes-and-methods-bad

this will be hotly debated as it flies in the face of C#'s OOP thought process but I have found that the more static methods..

Large Switch statements: Bad OOP?

http://stackoverflow.com/questions/505454/large-switch-statements-bad-oop

Switch statements Bad OOP I've always been of the opinion that large switch statements.. opinion that large switch statements are a symptom of bad OOP design. In the past I've read articles that discuss this topic.. that discuss this topic and they have provided altnerative OOP based approaches typically based on polymorphism to instantiate..

POCO vs DTO

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

share improve this question A POCO follows the rules of OOP. It should but doesn't have to have state and behavior. POCO..

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

real properties on a class object something I assumed all OOP languages had . There are many gotchas. I've been to various..

Patterns for Compensating Lack of Inheritance in SOA

http://stackoverflow.com/questions/9478015/patterns-for-compensating-lack-of-inheritance-in-soa

and concept of base class as the strongest point of OOP. But this is not encouraged in SOA. So what are the popular..