static void Main(string[] args) { ICubeManager cubeManager = new CubeManager(); Console.WriteLine("Insert cube 1"); Console.WriteLine("-----------------------"); Cube cube1 = SetCubeProperties(); Console.WriteLine(""); Console.WriteLine("Insert cube 2"); Console.WriteLine("-----------------------"); Cube cube2 = SetCubeProperties(); if (cubeManager.HasCollision(cube1, cube2)) { Console.WriteLine("Collision"); float volume = cubeManager.GetIntersectionVolume(cube1, cube2); Console.WriteLine("Intersection volume: {0}", volume); } else { Console.WriteLine("No collision found"); } Console.ReadLine(); }