新建类库:Webtest
添加相应类:ReflectTest 接口interface1
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Webtest
{
public interface interface1
{
int add();
}
public class ReflectTest : interface1
{
public String Write;
private String Writec;
public String Writea
{
get
{
return Write;
}
set
{
Write = value;
}
}
private String Writeb
{
get
{
return Writec;
}
set
{
Writec = value;
}
}
public ReflectTest()
{
this.Write = "Write";
this.Writec = "Writec";
}
public ReflectTest(string str1, string str2)
{
this.Write = str1;
this.Writec = str2;
}
public string WriteString(string s, int b)
{