Re: [NF] C#: Single inheritance

2017-05-22 Thread Gene Wirchenko
At 08:47 2017-05-22, Alan Bourke wrote: On Mon, 22 May 2017, at 03:07 PM, Stephen Russell wrote: > Why would you want to do it is my question? I would say being able to implement multiple interfaces as in C# is perfect for almost any use case and various design patterns using interfaces would

Re: [NF] C#: Single inheritance

2017-05-22 Thread mbsoftwaresolutions
On 2017-05-22 10:07, Stephen Russell wrote: C++ give it to you. VB nope, nor C++. With .Net you can write that small segment of code in any language and call it from your base code. Why would you want to do it is my question? Animal DogCat Some hybrid of the two? I just heard

Re: [NF] C#: Single inheritance

2017-05-22 Thread Alan Bourke
On Mon, 22 May 2017, at 03:07 PM, Stephen Russell wrote: > Why would you want to do it is my question? I would say being able to implement multiple interfaces as in C# is perfect for almost any use case and various design patterns using interfaces would cover any unlikely situations where multipl

Re: [NF] C#: Single inheritance

2017-05-22 Thread Stephen Russell
C++ give it to you. VB nope, nor C++. With .Net you can write that small segment of code in any language and call it from your base code. Why would you want to do it is my question? Animal DogCat Some hybrid of the two? On Wed, May 17, 2017 at 6:44 PM, < mbsoftwaresoluti...@mbso

Re: [NF] C#: Single inheritance

2017-05-19 Thread Ajoy Khaund
Are you doing anything in C#? I am also learning. I have made one form using winforms and trying to understand the concepts. However I am yet to understand how to design the classes or each master dbf will be a class. Ajoy Khaund On Thu, May 18, 2017 at 5:14 AM, < mbsoftwaresoluti...@mbsoftwares

Re: [NF] C#: Single inheritance

2017-05-18 Thread Ed Leafe
> On May 18, 2017, at 10:00, mbsoftwaresoluti...@mbsoftwaresolutions.com wrote: > > In Java, Python, or both? Can't speak for Java, as I haven't used it in over a decade. But yes for python. -- Ed ___ Post Messages to: ProFox@leafe.com Subscription

Re: [NF] C#: Single inheritance

2017-05-18 Thread mbsoftwaresolutions
On 2017-05-18 08:22, Wollenhaupt, Christof wrote: Ah...but tell me, can you call to the parent's parent class, like VFP's class::JumpMoreThanOneLevelUp? If you are not talking about a virtual method, you can use (this as GreatGrandParent).Method(); when Method is either protected internal

Re: [NF] C#: Single inheritance

2017-05-18 Thread mbsoftwaresolutions
On 2017-05-18 08:44, Edward Leafe wrote: On May 18, 2017, at 6:33 AM, mbsoftwaresoluti...@mbsoftwaresolutions.com wrote: Maybe it was Python learning. I did start reading a Java book but I don't think it was that. Wherever it was, I recall reading that the classes listed earlier (left) had

Re: [NF] C#: Single inheritance

2017-05-18 Thread Edward Leafe
On May 18, 2017, at 6:33 AM, mbsoftwaresoluti...@mbsoftwaresolutions.com wrote: > > Maybe it was Python learning. I did start reading a Java book but I don't > think it was that. Wherever it was, I recall reading that the classes listed > earlier (left) had dominance over those listed after, s

Re: [NF] C#: Single inheritance

2017-05-18 Thread Wollenhaupt, Christof
> > Ah...but tell me, can you call to the parent's parent class, like VFP's > class::JumpMoreThanOneLevelUp? > If you are not talking about a virtual method, you can use (this as GreatGrandParent).Method(); when Method is either protected internal, internal or public. For a virtual method you ca

Re: [NF] C#: Single inheritance

2017-05-18 Thread mbsoftwaresolutions
On 2017-05-18 00:06, Ed Leafe wrote: On May 17, 2017, at 6:44 PM, mbsoftwaresoluti...@mbsoftwaresolutions.com wrote: So what language has MULTIPLE PARENT inheritance? Java? Java does. Python too. Maybe it was Python learning. I did start reading a Java book but I don't think it was that

Re: [NF] C#: Single inheritance

2017-05-18 Thread mbsoftwaresolutions
On 2017-05-18 03:17, Wollenhaupt, Christof wrote: I could have swore somebody told me DotNet was MULTIPLE inheritance, where you could have multiple parents...which I thought was really great & cool! Multiple inheritance of interfaces, but only one actual parent class... class Class : Pare

Re: [NF] C#: Single inheritance

2017-05-18 Thread Wollenhaupt, Christof
> > I could have swore somebody told me DotNet was MULTIPLE inheritance, where > you could have multiple parents...which I thought was really great & cool! Multiple inheritance of interfaces, but only one actual parent class... class Class : Parent, Interface1, Interface2, Interface3 { } I'd ar

Re: [NF] C#: Single inheritance

2017-05-17 Thread Ed Leafe
On May 17, 2017, at 6:44 PM, mbsoftwaresoluti...@mbsoftwaresolutions.com wrote: > > So what language has MULTIPLE PARENT inheritance? Java? Java does. Python too. -- Ed Leafe --- StripMime Report -- processed MIME parts --- multipart/signed text/plain (text body -- kept) application

[NF] C#: Single inheritance

2017-05-17 Thread mbsoftwaresolutions
I could have swore somebody told me DotNet was MULTIPLE inheritance, where you could have multiple parents...which I thought was really great & cool! However, my Pluralsight training video just said it's SINGLE inheritance. So what language has MULTIPLE PARENT inheritance? Java? ___