Here you go
using SFML.Graphics;
using SFML.Window;
namespace TextProblem
{
public class EntryPoint
{
public static void Main()
{
Program prog = new Program();
}
}
public class Program
{
RenderWindow Graphics;
bool running;
Text text;
public Program()
{
Graphics = new RenderWindow(new VideoMode(800,600),"Text problem");
text = new Text();
text.DisplayedString = "Text";
text.Position = new Vector2f(0,0);
text.CharacterSize = 30;
Loop();
}
public void Loop()
{
running = true;
while(running)
{
Graphics.DispatchEvents();
Graphics.Clear();
Graphics.Draw(text);
Graphics.Display();
}
}
}
}