87635/FloWang_sortingbasics/.vs/FloWang_sortingbasics/v16/.suo
87635/FloWang_sortingbasics/FloWang_sortingbasics/App.config
87635/FloWang_sortingbasics/FloWang_sortingbasics
in/Debug/FloWang_sortingbasics.exe
87635/FloWang_sortingbasics/FloWang_sortingbasics
in/Debug/FloWang_sortingbasics.exe.config
87635/FloWang_sortingbasics/FloWang_sortingbasics
in/Debug/FloWang_sortingbasics.pd
87635/FloWang_sortingbasics/FloWang_sortingbasics/FloWang_sortingbasics.csproj
Debug
AnyCPU
{259A06CF-19E4-48B8-9422-2092378C4F29}
Exe
FloWang_sortingbasics
FloWang_sortingbasics
v4.7.2
512
true
true
AnyCPU
true
full
false
bin\Debug\
DEBUG;TRACE
prompt
4
AnyCPU
pdbonly
true
bin\Release\
TRACE
prompt
4
87635/FloWang_sortingbasics/FloWang_sortingbasics/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
87635/FloWang_sortingbasics/FloWang_sortingbasics/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
87635/FloWang_sortingbasics/FloWang_sortingbasics/obj/Debug/FloWang_sortingbasics.csproj.CoreCompileInputs.cache
99
595c81642432ace7375b95e0d409afb2bc9e
87635/FloWang_sortingbasics/FloWang_sortingbasics/obj/Debug/FloWang_sortingbasics.csproj.FileListAbsolute.txt
C:\Users\Acer\source\repos\FloWang_sortingbasics\FloWang_sortingbasics\obj\Debug\FloWang_sortingbasics.csprojAssemblyReference.cache
C:\Users\Acer\source\repos\FloWang_sortingbasics\FloWang_sortingbasics\obj\Debug\FloWang_sortingbasics.csproj.CoreCompileInputs.cache
C:\Users\Acer\source\repos\FloWang_sortingbasics\FloWang_sortingbasics\bin\Debug\FloWang_sortingbasics.exe.config
C:\Users\Acer\source\repos\FloWang_sortingbasics\FloWang_sortingbasics\bin\Debug\FloWang_sortingbasics.exe
C:\Users\Acer\source\repos\FloWang_sortingbasics\FloWang_sortingbasics\bin\Debug\FloWang_sortingbasics.pd
C:\Users\Acer\source\repos\FloWang_sortingbasics\FloWang_sortingbasics\obj\Debug\FloWang_sortingbasics.exe
C:\Users\Acer\source\repos\FloWang_sortingbasics\FloWang_sortingbasics\obj\Debug\FloWang_sortingbasics.pd
87635/FloWang_sortingbasics/FloWang_sortingbasics/obj/Debug/FloWang_sortingbasics.csprojAssemblyReference.cache
87635/FloWang_sortingbasics/FloWang_sortingbasics/obj/Debug/FloWang_sortingbasics.exe
87635/FloWang_sortingbasics/FloWang_sortingbasics/obj/Debug/FloWang_sortingbasics.pd
87635/FloWang_sortingbasics/FloWang_sortingbasics/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FloWang_sortingbasics
{
class Program
{
Main method to call all the classess with sorted and non sorted data.
static void Main(string[] args)
{
List
students = Student.getTestStudents();
Console.WriteLine(Student.SortTitle("Not Sorted\n"));
Console.WriteLine(Student.ColumnHeader());
foreach (Student student in students)
{
Console.WriteLine(student);
}
Console.WriteLine("\n\n");
Console.WriteLine(Student.SortTitle("Sorted by Last Name and First Name Using Built in IComparable\n"));
Console.WriteLine(Student.ColumnHeader());
students.Sort();
foreach (Student s in students)
{
Console.WriteLine(s);
}
Console.WriteLine("\n\n");
Console.WriteLine(Student.SortTitle("Sorted by Course Grade, Last Name, and then First Name Using ICompare\n"));
Console.WriteLine(Student.ColumnHeader());
students.Sort(new StuSortCourseGradeLastFirst());
foreach (Student s in students)
{
Console.WriteLine(s);
}
Console.WriteLine("\n\n");
Console.WriteLine(Student.SortTitle("Sorted by Last Name, First Name, and then Course ID Using IComparer\n"));
Console.WriteLine(Student.ColumnHeader());
students.Sort(new StuSortLastFirstCourseID());
foreach (Student s in students)
{
Console.WriteLine(s);
}
Console.WriteLine("\n\n");
Console.WriteLine(Student.SortTitle("Sorted by Last Name, First Name,...