摘要:在C#的学习中,容易混淆virtual方法和abstract方法的使用,现在来讨论一下二者的区别。二者都牵涉到在派生类中与override的配合使用。一、Virtual方法(虚方法)virtual 关键字用于在基类中修饰方法。virtual的使用会有两种情况:情况1:在基类中定义了virtual方法,但在派生类中没有重写该虚方法。那么在对派生类实例的调用中,该虚方法使用的是基类定义的方法。情况2:在基类中定义了virtual方法,然后在派生类中使用override重写该方法。那么在对派生类实例的调用中,该虚方法使用的是派生重写的方法。二、Abstract方法(抽象方法)abstract关键字只
阅读全文
随笔分类 - 概念
摘要:from:http://www.cnblogs.com/chenxizhang/archive/2009/06/07/1498312.html这一篇要讲一个非常重要的话题:char类型与string类型的区别。从字面上说,他们是有区别的1. char是字符类型2. string是字符串类型虽然一字之差,但其本质是很大的。1. char属于基础类型(C++),在C#中它属于值类型(Value Type)。char类型的长度是固定的,上一篇讲到,在C++中它可能是1个字节,或者2个字节(取决于是否为Unicode Char),而在C#中,它永远是2个字节。2. string是一个模板类型,也就是一
阅读全文
摘要:Incomputer networking,Layer 2 Tunneling Protocol(L2TP) is atunneling protocolused to supportvirtual private networks(VPNs) or as part of the delivery of services by ISPs. It does not provide anyencryptionorconfidentialityby itself; it relies on anencryption protocolthat it passes within the tunnel t
阅读全文
摘要:Layer Two Tunneling Protocol "L2TP"Status of this Memo This document specifies an Internet standards track protocol for the Internet community, and requests discussion and suggestions for improvements. Please refer to the current edition of the "Internet Official Protocol Standards&qu
阅读全文
摘要:下图说明了 Windows Communication Foundation (WCF) 体系结构的主要层。WCF 体系结构协定和说明协定定义消息系统的各个方面。数据协定描述组成某一服务可创建或使用的每则消息的每个参数。消息参数由 XML 架构定义语言 (XSD) 文档定义,这使得任何理解 XML 的系统均可处理该文档。消息协定使用 SOAP 协议定义特定消息部分,当互操作性要求对消息的某些部分进行更精细的控制时,消息协定可实现这种控制。服务协定指定服务的实际方法签名,并以支持的编程语言之一(例如 Visual Basic 或 Visual C#)作为接口进行分发。策略和绑定规定与某一服务进行
阅读全文
摘要:本文档高度概括了 Windows Communication Foundation (WCF) 体系结构。本文档旨在解释关键概念以及这些概念之间的关系。有关创建最简单版本的 WCF 服务和客户端的教程,请参见入门教程。若要了解 WCF 编程,请参见基本 WCF 编程。WCF 基础知识Windows Communication Foundation (WCF) 是一个运行库和一组 API,用于创建在服务与客户端之间发送消息的系统。它使用相同的基础结构和 API 来创建应用程序,这些应用程序可与同一计算机系统上或驻留在另一家公司内并通过 Internet 访问的系统上的其他应用程序进行通信。消息和
阅读全文
摘要:from:http://msdn.microsoft.com/zh-cn/library/vstudio/ms731082(v=vs.90).aspxWeb 服务中包含了用于应用程序间通信的标准协议,它在全球范围内的广泛采纳改变了软件开发。例如,如今 Web 服务提供的功能包括安全性、分布式事务协调和可靠的通信。Web 服务所发生的这些改变的效益应反映在开发人员所使用的工具和技术方面。设计 Windows Communication Foundation (WCF) 的目的是为分布式计算提供可管理的方法,提供广泛的互操作性,并为服务定位提供直接的支持。WCF 通过一种面向服务的新型编程模型简化
阅读全文
摘要:from:http://www.microsoft.com/com/default.mspxWhat is COM?Microsoft COM (Component Object Model) technology in the Microsoft Windows-family of Operating Systems enables software components to communicate. COM is used by developers to create re-usable software components, link components together to
阅读全文
摘要:OPC specifications always contain two sets of interfaces; Custom Interfaces and Automation Interfaces. It has been found that it is not possible to define a single (dual-automation) interface which is both highly efficient and provides the look-and-feel of typical automation servers, like Excel. In
阅读全文
摘要:FROM:http://en.wikipedia.org/wiki/Computer-supported_telecommunications_applicationsComputer-supported telecommunications applications (CSTA)is anabstractionlayer fortelecommunicationsapplications. It is independent of underlyingprotocols. It has a telephone device model that enablesCTIapplications
阅读全文
摘要:FROM :http://en.wikipedia.org/wiki/Computer_telephony_integrationComputer telephony integration, also called computer–telephone integration orCTI, is a common name for any technology that allows interactions on atelephoneand acomputerto be integrated or coordinated. The term is predominantly used to
阅读全文
摘要:FROM:http://en.wikipedia.org/wiki/CT_ConnectCT Connectis a software product that allows computer applications to monitor and control telephone calls. This monitoring and control is calledcomputer-telephone integration, or CTI. CT Connect implements CTI by providingserversoftware that supports the CT
阅读全文

浙公网安备 33010602011771号