C Sharp (C#) - Classes and Objects
Inside a constructor, what does the
this keyword allow you to do in C#?this keyword allow you to do in C#?this keyword can be used to call another constructor in the same class to avoid code duplication.base keyword, not this.this() in constructor = call same class constructor [OK]this() to chain constructors [OK]this() with base()this to create new instancesthis to access static members in constructor15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions