Really awkward question

Guys, I have this java code:
var text = “Some text”;
how to write this exactly same code, but in C#?Should I write something like:
public text = “Some text”;
(This code gives me error though).

You need to tell its type in C#, different from Javascript. So in C# it would be:

string text = "Some Text";