cstudents.cs
来自「C sharp ACCESS数据库读取」· CS 代码 · 共 44 行
CS
44 行
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
namespace ClassManage.EntityClass
{
public class CStudents : CollectionBase
{
public CStudents() { }
public CStudent this[int index]
{
get
{
return (CStudent)List[index];
}
set
{
List[index] = value;
}
}
public int Add(CStudent value)
{
return (List.Add(value));
}
public int IndexOf(CStudent value)
{
return (List.IndexOf(value));
}
public void Insert(int index, CStudent value)
{
List.Insert(index, value);
}
public void Remove(CStudent value)
{
List.Remove(value);
}
public bool Contains(CStudent value)
{
return (List.Contains(value));
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?