예제 #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: private static String getRobotString(String path) throws IllegalAccessException
        private static string getRobotString(string path)
        {
            File  file  = new File(path);
            Robot robot = PopulationDAOFileSystem.getRobotFromFile(file);

            return(robot.showRobot());
        }
예제 #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: private static void showPopulation(String path) throws IllegalAccessException
        private static void showPopulation(string path)
        {
            PopulationDAOFileSystem dao = new PopulationDAOFileSystem(path);
            Population population       = PopulationFactory.getDefaultPopulation(dao);

            showHeader();
            showRobots(population);
        }