How can I cast int to enum in c#?

How can I cast int to enum in c#?

 

yourEnum e = (yourEnum)900;

2021-10-03