class foo { private int someNumber = 0; private string someText = ""; public void Initialize() { someNumber = 1; someText = "Text"; } }