Exemplo n.º 1
0
 static void PrintDetails(SurveyItem item, int number = -1)
 {
     if (!(number < 0))
     {
         Print("ITEM #" + (number + 1));
     }
     Print("Industries: ");
     Print(item.WorkSectors, true);
     Print("Employment Type: " + item.employmentType);
     Print("Location: " + item.employeeWorkLocation);
     Print("Employee Location: " + item.employeeLocation);
     Print("Education: " + item.education);
     Print("Salary: " + item.SalaryRange.ToString());
     Print("Languages: ");
     Print(item.ProgrammingLanguages, true);
     Print("FrameWorks:");
     Print(item.FrameWorks, true);
     Print("");
     Print("IDEs");
     Print(item.IDES, true);
     Print("");
     Print("Team Size: " + item.TeamSize.ToString());
 }
Exemplo n.º 2
0
        static void Print(SurveyItem item, int number = -1)
        {
            var output = number < 0 ? item.ToString() : "#" + number + " " + item.ToString();

            Console.WriteLine(output);
        }