In C#, You can call the base constructor using the base keyword as shown below.
How to Call the base constructor in C# ?
public class AbundantCodeClassException : Exception
{
public AbundantCodeClassException(string message) : base(message)
{
// Your Logic here
}
}
Leave a Reply