Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

explicit-implementation

How to call an explicitly implemented interface-method on the base class

January 8, 2024 by Tarik

Unfortunately, it isn’t possible. Not even with a helper method. The helper method has the same problems as your second attempt: this is of type B, even in the base class and will call the implementation of M in B: interface I { int M(); } class A : I { int I.M() { return … Read more

Categories c# Tags base-class, c++, explicit-implementation, interface Leave a comment

C# Language Design: explicit interface implementation of an event

September 6, 2023 by Tarik

Interesting question. I did some poking around the language notes archive and I discovered that this decision was made on the 13th of October, 1999, but the notes do not give a justification for the decision. Off the top of my head I don’t see any theoretical or practical reason why we could not have … Read more

Categories c# Tags c++, events, explicit-implementation, interface Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa