Category: C#
-
C# Track, Exercism #48 Two fer
Relevant link Github solution: exercism-solutions Exercism #48: Two fer Learning Goal Method overloading vs Optional argument Notes If you’ve read my recent posts, you should have noticed that I try to document task by task what I do for each exercise. I’ve decided to change that. To see my solution click on the link above to ge…
-
C# Track, Exercism #47 Instruments Of Texas
Relevant link Github solution: exercism-solutions Exercism #47: Instrument of Texas Learning Goal Exception filtering | User defined exceptions Notes If you’ve read my recent posts, you should have noticed that I try to document task by task what I do for each exercise. I’ve decided to change that. To see my solution click on the link above…
-
Mastering Constructor Chaining & Custom Exceptions
The Core Concept: Parent First In C#, when a Child class inherits from a Parent class, the parent’s constructor must run first to build its foundation before the child’s constructor body executes. Using : base(…) to pass data up The child uses : base(…) to hand values directly to the parent’s constructor. Execuion order: Vehicle(brand)…