C#接口使用(排序问题)

时间:2014-06-14 10:29:53
【文件属性】:
文件名称:C#接口使用(排序问题)
文件大小:69KB
文件格式:ZIP
更新时间:2014-06-14 10:29:53
C#接口使用 接口基本使用 public class NameComparer : IComparer { #region IComparer 成员 public int Compare(Student x, Student y) { return (x.Name.CompareTo(y.Name)); } #endregion }
【文件预览】:
MySchool - Interface
----MyClass.cs(2KB)
----Person.cs(2KB)
----Old()
--------Teacher.cs(2KB)
--------Student.cs(3KB)
----bin()
--------Debug()
----Teacher.cs(1KB)
----obj()
--------MySchool.csproj.FileList.txt(278B)
--------Debug()
--------MySchoolGeneric.csproj.FileList.txt(285B)
----MySchool.suo(5KB)
----Properties()
--------Resources.Designer.cs(3KB)
--------Settings.settings(249B)
--------Resources.resx(5KB)
--------Settings.Designer.cs(1KB)
--------AssemblyInfo.cs(1KB)
----Program.cs(470B)
----MySchool.csproj(3KB)
----Student.cs(2KB)
----Common.cs(1KB)
----MainForm.resx(6KB)
----MainForm.cs(5KB)
----MySchool.csproj.user(168B)
----All.cd(2KB)
----MainForm.Designer.cs(8KB)

网友评论