一
public class TextBox
{
public void DataBind()
{
}
}
string userName
public AddUser(string userId
public class Database
{
private string _connectionString
}
interface ICompare
{
int compare()
}
public class AuthorAttribute
{
}
public class AppException
{
}
ShowDialog()
CreateFile()
GetPath()
string userName
public class AuthorAttribute
{
}
二
string userName
int number
public class Source
{
private EventHandler m_NumberChangeEvent
public event EventHandler NumberChangeEvent
{
add
{
m_NumberChangeEvent += value
}
remove
{
m_NumberChangeEvent
}
}
}
Animal animal = new Dog()
Dog dog = animal as Dog
if (dog != null)
{
}
public class Person
{
public Person(string name)
{
}
public Person()
{
}
}
From:http://tw.wingwit.com/Article/program/net/201311/12341.html