c#反射Type_gettype示例测试
using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Reflection;namespace ConsoleApplication1{ class Program { &nb...
c# memorystream 内存流
//学习内存流的读与写操作class Program { static void Main(string[] args) { ...
c# 委托测试
--学习委托namespace ConsoleApplication1{ //声明委托类型 //委托返回类型为string //委托参数类型为string //委托返回类型及参数类型要与委托调用的...
转贴杨大师yangtingkun_如何为table快速添加一个默认值的新列
附上杨大师的文章链接快速增加表新加列的默认值的方法下为自己测试示例:2012年3月30日 星期五 11时53分SQL> conn scott/system已连接。SQL> create table t_add_newcol(a int,b int);表已创建。SQL> insert into t_a...
c# tcbs项目学习体悟
虽接触近半年多了,仍是一头雾水.总是抓不到重点.努力哟.学习的方法.到底是我基础知识差一些,还是学习项目的架构方法不足,或者是其它,到底如何真正的熟悉一个项目,快速入进去呢,是我真正需要的!...
c# stringreader_stringwriter写入字符及读取字符(stream流)
static void Main(string[] args) { //用stringreader读取字符串的值并显示 &nbs...
c# binaryreader之readint32与readint16区别
//检测文件是否存在 if (File.Exists(file_name)) { &n...
c# console.write_filestream.readbyte_从文件中读取并显示在控制台
using System;using System.Collections.Generic;using System.Text;using System.Collections;//arraylist派生于array类using System.IO;namespace ConsoleApplication1{ class Program &n...
c# console.read
Console.WriteLine("Input:"); int a = Console.Read(); Console.WriteLine("Out:{0}", a);&...
c#二进制读取写入流工具binaryreader_binarywriter电话薄示例
using System;using System.Collections.Generic;using System.Text;using System.IO;namespace ConsoleApplication1{ //声明结构体在phonebook类中调用 struct Record...
c# stream类相关测试续(二)
附上前期stream示例http://space.itpub.net/9240380/viewspace-706058using System;using System.Collections.Generic;using System.Text;using System.IO;namespace ConsoleApplication1{ class ...
ORA-01719: OR 或 IN 操作数中不允许外部联接运算符 (+)
SQL> select * from acctinactprocess; &...
c# 通过构造函数及传入类对象方法参数来复制对象
using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication1{ public class Class1 { publ...
oracle pl/sql存储过程内外层游标cursor嵌套参数化示例
SQL> select * from acctinactprocess; &n...
c#委托delegate使用
窗体效果 实现功能:在文本框输入文字,当选中单选按钮capital或lower时,单击process按钮,把在文本框输入的文字以大小写方式添加到listbox1中代码: Form1.csusing System;using System.Collections.Gene...
oracle监听器启动lsnrctl status例程的状态为unknown
以前同事问及为何数据库例程在监听器中状态为unnkown,这是何意.有何影响.查阅了资料,解决如下:# listener.ora Network Configuration File: E:\oracle\product\10.2.0\db_1\network\admin\listener.ora# Genera...
pl/sql developer test窗口测试数组类型pl/sql输入参数的存储过程
1,连接到oracle scott用户2,创建如下包及包体SQL> create or replace package pkg_teacher 2 as 3 type array_dname is table of dept.dname%type index by binary_integer; 4 ...
c# while-do while-foreach-if-goto
using System;using System.Collections.Generic;using System.Text;using System.Collections;//arraylist派生于array类namespace ConsoleApplication1{ class Program {&nbs...
c# 继承派生类的默认构造函数的初始化次序
//基类namespace ConsoleApplication1{ public class Class1 { public Class1() {&nb...
c#多态性测试小例
基类using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication1{ class Class1 { p...