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