Welcome to the site. Around here, we require the poster of questions like this to first do a little work on their own and then we can open our combined encyclopedia of knowledge to them.
First, we need to know the make of the sender and gauge readout you are looking at. Beneteau tells us nothing as the type of gauge used on Bene's will change from year to year. Can't see a label ? photo both components UP CLOSE.
Second, describe exactly what the problem is ie. stuck at 100% stuck at 0% or somewhere else.
Third, any other info you can offer as to what else is happening such as when this first occurred, etc, etc.
I believe it is a faulty sending unit in the tank.
Let's look at the problem first before jumping to uninformed conclusions and finding it's a corroded connection.