The outlet and plug type used in Namibia are D and M and in Madagascar are C and E. This is how they look like.
In Madagascar, outlets of type C and E are in use.
In Namibia, outlets of type D and M are in use.