|
1) You can use extension methods.
2) For future maintenance purpose, almost always a better idea to use composition instead of multiple inheritance.
3) If the list is a private member of a class, then the custom method could be added to that class instead.
4) You can also use composition and have a property that returns the list if for example, your class purpose is to build a list.
In practice, you might loose a few minutes now but the application will usually be more maintainable if every class follow the SOLID principle.
When refactoring code, complex hierarchy are much harder to work with...
Philippe Mori
|
|
|
|
|
|
|
My previous team got around this by implementing 15 layers of bullshit inheritance. What? Not good enough?
|
|
|
|
|
|
Seen it before (and cheaper), but cool none the less
|
|
|
|
|
|
I and a colleague actually sat on our desks with case of Becks and sang that song for real. The boss was out, we got told off for not including him when he saw the video of us doing that!
|
|
|
|
|
I don't know where she got it from. I just picked the first link with a picture of the shirt.
The one I have is a little different from what's shown.
|
|
|
|
|
Do Welshman like both male and female sheep, or is it just ewe?
|
|
|
|
|
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
|
Pompey, now you've done gone hurt his feelings!
How do we preserve the wisdom men will need,
when their violent passions are spent?
- The Lost Horizon
|
|
|
|
|
Nah - it's just every time a post subject names me specifically it's not going to be good news...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I'm curious to know how many cultures have a specific ethnicity which is popularly renowned to consort with sheeps.
In Italy we say that of people from Sardinia, in England it is said of Welsh... does anybody know more of them?
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
"When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey
"just eat it, eat it"."They're out to mold, better eat while you can" -- HobbyProggy
|
|
|
|
|
All of Australia and New Zealand apparently.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
In the US, it's pretty much anyone living south of the Mason-Dixon line.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
sheepshagger - Wiktionary[^]
That contains the three that I know of.
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
Also if my misspent youth at Uni was correct a Mack Lads tune...
|
|
|
|
|
When you talk of OG in that manner, it gives a whole new implication to KSS. Possibly baby animal siblings in general.
Forget I posted this.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
please does .Netframework 4.5 support oledb datareader.
Masta Pee
|
|
|
|
|
|
Yes.
As a very simple google would have told you: oledb datareader - Google Search[^]
This is not the place for technical queries, as it says at the top of the page.
And that is not a query you should be asking on a technical site: it's basic research that you should be capable of doing for yourself.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
But he seems to be able to pee for himself - and quite good at that...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
You could say he has a...
( •_•)
( •_•)>⌐■-■
(⌐■_■)
PhD.
|
|
|
|