首先在C#中虚方法的定义:public virtual void VirtualMethod(){......};只要在方法名前加上virtual,就声明了该方法为虚方法,注意声明为虚方法后再不能加上abstract,static关键字声明以下是插入一个实例来说明虚方法与非虚方法的不同 public class A { public virtual void VirMethod() { Console.WriteLine("Virtual Method A"); } public void NormalMethod() { Console.WriteLine("N Read More
posted @ 2012-10-23 14:33 咸鱼公子 Views(340) Comments(0) Diggs(1) Edit
Windows 64位下装Oracle 11g 64位,PLSQL Developer使用出现以下问题:1、Database下拉框为空:2、强制输入用户名、密码及Database,登录弹出:引用Initialzation errorCould not initialize"...."Make sure you have the 32 bits Oracle Client installed.OracleHomeKey:OracleHomeDir:...Found:oci.dllUsing:...Loadlibrary(...)returned 0说明PLSQL Develo Read More
posted @ 2012-10-23 11:26 咸鱼公子 Views(421) Comments(0) Diggs(0) Edit