C# How to get text from resource-id?

Hi friends. How to get text from resource-id in C# and put it in a variable?