Boxing and unboxing enable value types to be treated as objects. Boxing a value type packages it inside an instance of the Object reference type. This allows the value type to be stored on the garbage collected heap. Unboxing extracts the value type from the object. In this example, the integer variable i is […]
Author: Zonixsoft
SMS service to send Message to a URL
Here is the sample code for same , I used it for implementing SMS service in project that sends message to particular URL which in turn sends SMS to particualr phone number, using System.Net; using System.Xml; XmlDocument xDoc = new XmlDocument(); //xDoc = ; //some xml data Byte[] outputbyte; string sXML = “”; string strResult […]
GZipStream Class to Compress and Decompress Stream Data
Provides methods and properties used to compress and decompress streams. Namespace: System.IO.Compression Assembly: System (in system.dll) This class represents the gzip data format, which uses an industry standard algorithm for lossless file compression and decompression. The format includes a cyclic redundancy check value for detecting data corruption. The gzip data format uses the same […]
GZipStream Class to Compress and Decompress Stream Data
Provides methods and properties used to compress and decompress streams. Namespace: System.IO.Compression Assembly: System (in system.dll) This class represents the gzip data format, which uses an industry standard algorithm for lossless file compression and decompression. The format includes a cyclic redundancy check value for detecting data corruption. The gzip data format uses the same […]
SingleTon Object
Introduction Sometime we need a class that has to be instantiated only once. That means we cannot have more than one instance for a class. Here singleton comes into picture. Singleton object is not a new thing come from oops concept. Let us read how easy it is. Implementation Typically every class is instantiated using […]
SingleTon Object
Introduction Sometime we need a class that has to be instantiated only once. That means we cannot have more than one instance for a class. Here singleton comes into picture. Singleton object is not a new thing come from oops concept. Let us read how easy it is. Implementation Typically every class is instantiated using […]
OOPS Concepts and .NET Part 2 Inheritance, Abstraction, Polymorphism
Summary The following article is the second of a three-part article series that presents definitions and samples for different Object-Oriented Programming (OOP) concepts and its implementation in .NET. The first part examined the concepts of classes, objects, and structures. This part examines the concepts of inheritance, abstraction, and polymorphism. The third and last part will […]
OOPS Concepts and .NET Part 2 Inheritance, Abstraction, Polymorphism
Summary The following article is the second of a three-part article series that presents definitions and samples for different Object-Oriented Programming (OOP) concepts and its implementation in .NET. The first part examined the concepts of classes, objects, and structures. This part examines the concepts of inheritance, abstraction, and polymorphism. The third and last part will […]
Free SEO Tools You Can’t Live Without
Introduction to .NET Remoting – Part [1]
Click Here to visit our website Welcome to the world of Distributed Application! The article will give you introduction to the world of Distributed Application development and its respective technologies. What is Remoting? “Remoting” is the process of programs interacting across certain boundaries. The boundaries are either different processes or different machines. In .NET Framework, […]