Ejemplo n.º 1
0
    private static void ParseCommand(StudentSystem studentSystem, string command)
    {
        string[] args = command.Split();

        if (args[0] == "Create")
        {
            CreateStudent(studentSystem, args);
        }
        else if (args[0] == "Show")
        {
            string name = args[1];

            studentSystem.TryShowStudentInfo(name);
        }
    }