public class Person
{
	public int DoSomething(int x, ref string y, out int z)
	{
		//do something
		z = 100;
		//return a value
		return 99;
	}
}
public class App
{
	static void Main()
	{
		int a = 99;
		string b = "Jim";
		int c;
		Person p = new Person();
		p.DoSomething(a, ref b, out c);
	}
}
