Question about classes on C#

Hi everyone,
This is probably a stupid question, but I just switched from JS to C# a few days back and I have a doubt about how classes work.

If I have a class MyClass : Monobehaviour, and a class Myclass1 : MyClass, does my class MyClass1 inherit all the methods from Monobehaviour as well? And what about if I declare one more class but this time MyClass2 : MyClass1 ? does it still inherits the public methods?

Thank you very much!

Yes, they inherit all their ancestor (base classes) methods and variables. Unless those ancestors have marked things as ‘sealed’

So MyClass has all of MonoBehaviour, MyClass one has all of MyClass and MonoBehaviour, MyClass2 has all of MyClass1, MyClass, and MonoBehaviour etc.