How can I make something to happen with a certain probability in C#?

For example if I have something that happens at 50% of probability, then another at 25%, one at 15%, and other at 10%. How can I do it in C#?

// this will happen 25 percent of the time

This is well explained in the documentation

This Video may help you
How to make something happend when probable in c# unity