C# How to get text from element?

Hi friend. How to get text from element text? on c#

@lybimiy86

Assuming the text is already visible on the screen…

var text = driver.findelement(resource-id).text();