Previously in .NET framework I had something like:
public void Refresh() { try { Server s = new Server();