No new comments.
View All Comments
No new messages.
View All Messages
No new notifications.
View All Notifications
Request a new Category
No tag found
Refine by Author
Dhananjay Kumar (7)
G Gnana Arun Ganesh(1)
Rehan Ahmad Abbasi(1)
John Charles Olamendy(1)
Man Mohan Sharma(1)
Reeta Singh Lodhi(1)
No resource found
Using the ref Parameter
Mar 06, 2001.
The ref keyword on a method parameter causes a method to refer to the same variable that was passed as an input parameter for the same method. If you do any changes to the variable, they will be reflected in the variable.
Naming Guidelines in .NET
Apr 20, 2001.
Commenting and following a uniform naming guidelines in your code is one of good programming practices to make code more useful.
Serializing Objects in C#
May 14, 2001.
In simple words serialization is a process of storing the object instance to a disk file. Serialization stores state of the object i.e. member variable values to disk. Deserialization is reverse of serialization.
The out and ref Paramerter in C#
Jun 12, 2001.
The out and the ref parameters are used to return values in the same variables, that you pass an an argument of a method. These both parameters are very useful when your method needs to return more than one values.
Using ref and out Parameter
Jun 20, 2001.
When we pass a parameter as ref to a method, the method refers to the same variable and changes made will affect the actual variable.
Jun 26, 2001.
Graphics Class encapsulates a GDI+ drawing surface. The FromHWND method is used to create a new instance of the Graphics class from a window handle. Clear method fills the entire drawing surface with the specified RGB color by using Color class. DrawString method draws a string using Font and SolidBrush classes.
What & Why : Properties :: Part 2
Jul 09, 2001.
In the part 1 of this series, I discussed about the get method of the properties, with the help of which you can make your variable so that nobody can modify the value of the variable.
Is there any need to Boxing and Unboxing
Sep 21, 2001.
With Boxing and unboxing one can link between value-types and reference-types by allowing any value of a value-type to be converted to and from type object. Boxing and unboxing enables a unified view of the type system wherein a value of any type can ultimately be treated as an object.
Pointers in C#
Oct 25, 2001.
C# also supports pointers in a limited extent. A pointer is nothing but a variable that holds the memory address of another type. But in C# pointer can only be declared to hold the memory address of value types and arrays.
Network Programming in C# - Part 2
Nov 12, 2001.
This is the second part of the series of articles about the network programming with C#.
C# Discussion Forum from Harrison Logic
Jan 29, 2002.
Threaded Discussion Forum that utilizes the .NET framework, with C# as the ASP.NET server side language. Uses MS Access Database for data.
Creational Pattern - Abstract Factory
Feb 11, 2002.
An abstract factory provides an interface for creating families of related objects without specifying their concrete classes. Sometimes one wants to construct an instance of one of a suite of classes, deciding between the classes at the time of instantiation.
.NET Static Variables : Better than Application!
Feb 22, 2002.
In traditional ASP, we always had the Application object to store application-wide variables in.
Mar 11, 2002.
One not so well known feature of .NET platform is possibility to invoke compiler and practically create code and assembly from running instance of application. It is possible to do that in two ways. First one is a bit simpler and involves namespaces System.CodeDom and System.CodeDom.Compiler, second one is more efficient and utilizes namespace System.Reflection.Emit. Since there are very few examples about how to use System.CodeDom.Compiler I will start with it.
A Shaped Windows Forms Application with Variable Opacity
Mar 11, 2002.
This application demonstrates two simple techniques that beginners might find useful in developing creative new looks for Windows applications.
Tutorial: Capturing and Running IE Instances in a Windows control
Mar 15, 2002.
In this article we are going to study how to find the running instances of Internet Explorer on your machine.
Mar 22, 2002.
The Prototype pattern is used when creating an instance of a class is very time-consuming or complex in some way.
Globalized Property Grid
Apr 17, 2002.
The property grid is a nice control to display properties and values. You create an instance of your class and assign it to the property grid. By using reflection a property grid extracts the properties of the class and displays its values.
Customized Windows Forms Look and Feel
May 28, 2002.
I have encountered instances when I needed a high level look and feel of Windows Forms and controls.
Static Constructor in C# and their Usages.
Sep 09, 2002.
Static constructor is used to initialize static data members as soon as the class is referenced first time, whereas an instance constructor is used to create an instance of that class with <new> keyword.
Using DTS from C#
Sep 16, 2002.
In this article I will concentrate on enumerating, executing and changing properties or global variables of DTS package.
Single Instance Control Component
Sep 23, 2002.
This article is on a single Instance control component which checks whether any instance of your application is running on the System.
Singleton Patterns in C# Revised
Dec 16, 2002.
I am coming from the Java world, where synchronizing the Singleton creation is common practice.
Creating an Instance of Internet Explorer in C#
Dec 19, 2002.
I was trying to write a program that opened an instance of Internet Explorer in a separate window, rather than use the Browser control that comes with the .NET platform.
Storing Data in C#
Sep 17, 2003.
In this article, we will talk about C# data types and how data storage works with different types of data types.
Late Binding With Reflection
Oct 20, 2003.
Component based technology has done great things for software development, allowing reuse and leading to better-written code that separates subjects and entities into distinct components.
Understanding SQL Server Yukon Service Broker
Feb 25, 2004.
The new version of Microsoft SQL Server™ "Yukon" comes together with a set of technologies capable of enlarging the horizon for database applications. One of the most remarkable technologies is the Service Broker that makes it possible to build database-intensive distributed applications. In this article we explore the core concepts of the Service Broker and show how to use its potentialities to build applications with message interchanging.
Validating Input Xml Data Files
Jun 28, 2004.
In this article we'll discus two strategies for validating input XML data files. The validation of an XML input file could occur at various instances of processing.
Difference between passing reference types by ref and by value
Sep 02, 2004.
We all know the difference between passing value types byval and byref, if the variable is passed byval any change to the variable value in the called function is not reflected back in the callee.
An in-depth look at WMI and Instrumentation: Part II
Sep 18, 2004.
In this second part of the series, you will learn how to work with WMI classes and class instances, and then demonstrates the wealth of information available through the Win32 and IIS WMI providers.
Download Files using HTTP and Proxy Server in C#
Sep 21, 2004.
This article explains how to pass proxy server network credentials when downloading files using HTTP.
Will swap work if C# Manipulates Objects by Reference?
Feb 15, 2005.
C# does manipulate objects by reference, and all object variables are references. On the other hand, C# does not pass method arguments by reference; it passes them by value. Thus, a regular swap method will not work!
Out and Ref Parameters in C#
Feb 27, 2005.
The out and the ref parameters are used to return values in the same variables that you pass an an argument of a method.
New Features of C#2.0 - Static Classes
Apr 13, 2005.
Static classes are used when a class provides functionality that is not specific to any unique instance.
MDI (Multiple Document Interface)
Jul 05, 2005.
This tutorials describes about Multiple Document Interface.
Learning Delegates in C#, an Introduction
Jan 03, 2006.
There is this thing in C# called a delegate, which is going to be crucial to build interactions between our objects. What’s a delegate, you ask? Good question. A delegate is a pointer to a method. What’s that mean? Just like you can pass variable by reference, you can pass a reference to a method. Let me give you an example.
Types of Variables
Jan 14, 2006.
In this article we'll cover the behaviors of variables to Reference Types.
C# Heap(ing) Vs Stack(ing) in .NET: Part III
Jan 15, 2006.
Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article we’ll cover an issue that arises from having reference variables in the heap and how to fix it using ICloneable.
C# Heap(ing) Vs Stack(ing) in .NET: Part II
Jan 15, 2006.
Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article I'll cover some of the behaviors we need to be aware of when passing parameters to methods.
C# using the Proxy Pattern to Define Relationships
Jan 23, 2006.
I was recently working on a 2.0 Framework project where we had many types of related objects. However, we needed to ensure that there were not multiple instances of the same object in memory. Usually the GOF Proxy pattern is used to hide or control access to an object, but we can also use it to define relationships between objects.
C# Heap(ing) Vs Stack(ing) in .NET: Part IV
Jan 30, 2006.
Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article we’ll look further into Garbage Collection (GC) and some ways to keep our applications running efficiently by using static class members.
Using static variable and Activated Event for Building "Home" Button of Windows application
Apr 10, 2006.
In this tutorial I will share experience how , just with the help of a few clicks and a few lines of code , to build a windows application with "Home" button, that allows to return to "Home" form (in fact to close all opened forms by one click) . The examples are written using C#.
Server.Transfer : Passing Values from One Page to Another Page
Jun 19, 2006.
Some times, we want to pass values from one page to another page. There are many ways by which we can do this like: by using query string, or session variable, or Server.Transer etc. This article shows you, how to pass values from one page to another page by using Server.Transfer method.
Working of Reference Type and Value Type
Sep 18, 2006.
This article shows you all the difference between reference and value type variables.
Tip related to sub containers and SqlDataSource
Dec 06, 2006.
This article provides some tips when working With Master page or SqlDataSource insert function In VS 2005.
Restricting User Input
Dec 28, 2006.
This article describes an approach to restricting the user’s input to letters only, numbers only, letters or numbers only, and special characters only. The approach is simple to implement and can be used whenever it is necessary to restrict a user’s response to instances where it is necessary to capture information from the user into a form’s text box control.
Passing Data Between Windows Forms
Jan 16, 2007.
This article provides a simple example of using delegates and events to transfer data between Windows forms. The example provided contains three separate forms; the main form interacts with the other two forms by responding to events generated by instances of the other two forms.
F# Tuples and Binding (and more Binding)
Mar 26, 2008.
Binding in F# is similar to using variables in C# but there are some big differences. This article discusses one of the most used keywords in F# for binding ("let") and how it is different than setting a C# variable. I also cover the tuple F# data structure.
Passing and retrieving parameters from windows workflow
Jun 09, 2008.
Basically this article gives an idea about how to pass the parameters and getting output parameters from the workflow.
Access the Same Instance of Internet Explorer Window
Jun 26, 2008.
This tip shows how to open an URL inside an Internet Explorer browser window from your C# application. Furthermore it shows how to update that specific window.
Checking previous instance (single instance) of an C# windows application, also setting MDI child form to a MDI parent
Sep 04, 2008.
In this article I will describe how to check previous instance (single instance) of an C# windows application and also whether a MDI child is set to a MDI parent
Simulating Autonomous Transactions in Microsoft SQL Server
Oct 10, 2008.
In the article, I will cover how to use table variable techniques in order to simulate the autonomous transaction behavior of Oracle databases in Microsoft SQL Server.
Intoduction to Biztalk Server 2006
Nov 01, 2008.
This article describes What is Biztalk server and explains a little about Message Engine and message lifecycle inside the Biztalk server.
The Two Interceptors: HttpModule and HttpHandlers
Dec 23, 2008.
Many times we want to implement pre-processing logic before a request hits the IIS resources. For instance you would like to apply security mechanism, URL rewriting, filter something in the request, etc. ASP.NET has provided two types of interception HttpModule and HttpHandler.
SharePoint Quick Start FAQ: Part III
Jan 15, 2009.
This is my third series of SharePoint Quick Start FAQ. We will cover page templates , page instances , WSS model , understand safe mode processing , deploy custom controls and understand WebParts. So let’s drink the SharePoint wine series by series, slowly , maintain the hangover and enjoy this great product.
Singleton Design Patterns in C#
Jun 08, 2009.
Whenever we want that a class has only one instance and it should have global point to access it but allowing the flexibility to create more objects if the situation changes,in that case we will use Singleton Design Pattern.
Jun 09, 2009.
In this article we will implement Singleton pattern to maintain global variables in Winform application.
Instance Management in WCF Part # 1
Jun 19, 2009.
This is first part of multi series articles. This article is giving introduction of Instance Management. This article will explain about Per-Call Instance management technique as well.
Instance Management in WCF Part # 3
Jun 22, 2009.
This article is part # 3 of Instance Management in WCF. This article will explain about Singleton Service Instance mode. This article will give theoretical introduction and explanation of coding sample also. It will also discuss about various disadvantages of Singleton Service Instance mode and its potential place of uses.
Instance Management in WCF Part # 2
Jun 23, 2009.
This article is part # 2 of Instance Management in WCF. This article will explain Session Full Instance management service. This will explain different Session Mode at Contract level. This will explain Per-session service also. This article will be explaining Session Full Service with a code also.
Instance Management in WCF Part # 4
Jun 25, 2009.
This article is part # 4 of Instance Management in WCF. This article will explain how to work with Session ID in WCF. This article will give theoretical introduction and explanation of coding sample also. It will explain 2 full coding sample that how to work with Session ID in WCF.
Aug 10, 2009.
The Session object is used to store information about a user. The information is retained for the duration of the user session. Variables stored in the Session object are not discarded when the user browses from one page to another, they only destroyed when the user abandons the session or the session time out.
Enumerating SQL Server Instances
Sep 08, 2009.
Learn how to enumerate currently installed SQL Server instances on this machine and on the network.
Using Table Variables Instead of Temporary Tables in SQL Server
Oct 23, 2009.
This article demonstrates how to use Table variables in SQL Server instead of temporary tables.
Variables in C#
Nov 17, 2009.
In this article I will explain about variable in C#.
C# 3.0 New Features: Part I
Nov 26, 2009.
This article explains about the new features introduced in C# 3.0 with sample codes.
Singleton Pattern in C#
Nov 26, 2009.
In this article we will see how to create a single instance of a class using Singleton Pattern.
Debugging and Tracing in C#
Feb 04, 2010.
In this article I will explain you about the Debugging and Tracing in C#.
Checking Improper DISPOSE in assemblies using SharePoint API
Feb 23, 2010.
In this article I will show how to check improper disposing of instance of SharePoint classes in an assembly.
How to Create Session Variable without Cookies?
Mar 05, 2010.
In this article you will learn how to Create Session Variable without Cookies?
Application State in ASP.NET
Mar 05, 2010.
Application state is used to store data on the application machine. It works as a global variable in other programming languages. Application variable is an object that is shared by the multiple sessions. We can use application variable within page, HttpHandler and Global.asax.
Single instance of application in C#
Mar 25, 2010.
There is some application that we want that only single instance of application works at a time. So here in this article is the logic for doing that.
How to Prevent Multiple Instances of Child Form in MDI Windows Form Application
Apr 12, 2010.
This article shows you how to prevent multiple instances of child form in MDI windows Form application.
Programmatically Enumerating, Attaching, and Detaching SQL Server Databases
Apr 14, 2010.
This writing is like an encyclopedia for the SQL statements and stored procedures used to enumerate, attach, and detach databases on a SQL Server instance.
Creating a Button at Run-time in C#
May 13, 2010.
Creating a Button control at run-time is merely a work of creating an instance of Button class, set its properties and add Button class to the Form controls.
Enumerate the ALL SQL Server Instances in Network
Jun 01, 2010.
In this article I will teach you how to get names and all other information of sql server instances that are in network.
3 Ways to Do WCF instance Management (Per call, Per session and Single)
Jun 07, 2010.
Many times we would like to control the way WCF service objects are instantiated on WCF server. You would like to control how long the WCF instances should be residing on the server.
Temporary Table vs Temporary Variable in SQL Server
Jun 11, 2010.
We have seen lot of difference between temporary variable and temporary table. Here is a nice difference in Transaction perspective.
WCF Concurrency (Single, Multiple and Reentrant) and Throttling
Jun 27, 2010.
In this article we will concentrate on WCF concurrency and throttling. We will first try to understand what are WCF concurrency and the 3 important types of WCF concurrency. We will then see a small sample of WCF concurrency with single and multiple. We will then go through 9 combinations of WCF concurrency and instancing. Finally we will try to understand how to configure throttling using WCF ‘web.config’ file.
Scope and Type of Variable and Performance in GDi+
Jul 05, 2010.
In this article you will learn how to Scope and Type of Variable and Performance in GDi+.
How to: Execute only one instance of application concurrently
Sep 07, 2010.
There was a requirement that the application can’t run more than one instance, and if already running then show the message to the user and set that window as active. Here we will see how to do that.
Session Variables as Objects
Sep 22, 2010.
Everyone uses session variables at some point in their career. What I am doing is offering what I feel is a better way to deal with session variables.
Performance of If-else if tree vs. Switch (multiple variables) in C#
Sep 28, 2010.
This article demonstrates multiple ways to implement if-else if tree, when there are multiple values to check, and compares their performance to a switch.
Abstraction in C#
Oct 13, 2010.
The word abstract means a concept or an idea not associated with any specific instance.
Values caught in intervals
Oct 26, 2010.
In this article we will see how to set your variables in defined interval or range.
Chapter 3: Data-Tier Applications
Nov 30, 2010.
With the release of Microsoft SQL Server 2008 R2, the SQL Server Manageability team addressed these struggles by introducing support for data-tier applications to help streamline the deployment, management, and upgrade of database applications. A data tier application, also referred to as a DAC, is a single unit of deployment that contains all the elements used by an application, such as the database application schema, instance level objects, associated database objects, files and scripts, and even a manifest defining the organization’s deployment requirements.
Difference between value type and reference type
Dec 02, 2010.
This article tells us the difference between value type and reference type variables.
Indexing Table Variables in SQL Server
Dec 08, 2010.
In this article you will learn how to use Index Table variables in SQL Server.
Using reflection and attributes
Dec 12, 2010.
Reflection provides objects (of type Type) that encapsulate assemblies, modules and types. You can use reflection to dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object and invoke its methods or access its fields and properties.
Chapter 5: Consolidation and Monitoring in SQL Server
Dec 22, 2010.
The goal of SQL Server consolidation is to identify underutilized hardware and improve utilization by choosing an appropriate consolidation strategy. With SQL Server, hardware could be considered to be underutilized when workloads are using less than 30 percent of server resources.
Deferred Execution and Immediate Execution in LINQ
Dec 31, 2010.
Deferred Execution executes a query only when a loop starts. What I mean here is that, we iterate through the query variable to get the result.
Variables and Function in F#
Jan 13, 2011.
This article shows how to define variables and functions with the let construct in F#.
Singleton Pattern - Creational Pattern
Jan 19, 2011.
This is a part of the Creation Pattern. This pattern ensures that you have only one instance and provides a single point of contact to access the instance.
Difference Between Temp Table and Table Variable
Jan 20, 2011.
This article explains the basic differences between table variables and temp tables. Because these things are mostly and widely used for temporary storing mechanism in the stored procedures in sql.
Calling Unmanaged Functions Which Take a Variable Number of Arguments From C#
Mar 29, 2011.
Many C# programmers are familiar with the Platform Invoke mechanism (using the DllImport attribute) for calling unmanaged functions from C#.
Advantage of [ServiceDependency] in WCSF - Instance Reuse
Apr 06, 2011.
Here we will see Advantage of [ServiceDependency] in WCSF - Instance Reuse.
Constructors in C#
Apr 26, 2011.
A constructor is a special method available under every class responsible for initializing variables of the class.
Initializing Windows Azure Diagnostics: Part 1
May 07, 2011.
Windows Azure diagnostic monitor runs in Windows Azure and in the computer's emulator and collects diagnostic data for a role instance.
Variables And Data Types in Java
Jul 01, 2011.
Some more Java basics for Java neophytes; this article is about the variables and primitive data types in Java.
The Concept of Functions And Variables in F#
Jul 05, 2011.
In this article you will learn about Functions and Variables of F#. This is for the people who want to have a Quick Review.
File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
CBeyond Cloud Services
TERMS & CONDITIONS
REPORT A BUG
©2016 C# Corner. All contents are copyright of their authors.
Terms & Conditions
©2016 C# Corner. All contents are copyright of their authors.