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
John Charles Olamendy(6)
Dhananjay Kumar (3)
Abhimanyu K Vatsa(3)
G Gnana Arun Ganesh(2)
Jorge L Fernandez(1)
Edmund H Smith(1)
Rehan Ahmad Abbasi(1)
rajesh p v(1)
Man Mohan Sharma(1)
Vineet Kumar Saini(1)
Suvendu Shekhar Giri(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.
Using the out Parameter
Mar 07, 2001.
Did you ever need your method return more than one value? The out keyword can be used to do the same.
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.
Passing Const Parameter to Functions in C#/C++/VB Compared
Aug 30, 2001.
Parameter passing to a function is extremely important in all programming languages. The desire to keep the passed parameter intact forced the compiler designers to add various keywords to the programming languages.
GUI Based Opinion Poll
Sep 26, 2001.
This is a article on how to create a opinion poll in C#. It creates a Text file on your c drive storing the voting parameters in it.
Method Parameters in C#
Oct 15, 2001.
This article describes different method parameters such as value parameters, reference parameters, output parameters, and parameter arrays.
Using MS Agent in C#-Part-I(Text To Speech)
Jan 15, 2002.
This article explains how to use MS Agent to write text-to-speech applications using C# and .NET.
N-Tier Development with Microsoft .NET : Part I
Feb 15, 2002.
The purpose of this article is to examine a proof of concept on an architecture that follows the DNA pattern on concept only.
Creational Pattern - Builder
Feb 19, 2002.
The Builder pattern allows a client object to construct a complex object by specifying only its type and content. The client is shielded from the details of the objects construction.
A Database Component: Inserting Serializable Objects
Apr 23, 2002.
The attached zip file contains two projects - a database component (DLL) project and a Windows forms project called Test. Both projects are written and compiled using Visual Studio .NET version 1.0.
Assembly Browser: Browsing a .NET Assembly
May 17, 2002.
This program lets you browse an assembly and lists the methods and the parameter name and parameter type for each assembly.
A Generic Data Access Component using Factory Pattern
Jul 30, 2002.
the article A Generic Data Access Component using Factory Pattern provides a very good way of creating ADO.Net data provider independent applications, but there is one problem with it. Different ADO.Net data providers use different approaches in labeling of parameters in SQL statement.
The "ins" and "outs" of Using Stored Procedures in C#
Jan 27, 2003.
This article reviews the creation of stored procedures with parameters using the Visual Studio IDE.
SQL Demo Login in C#
Feb 23, 2003.
This sample code contains a reusable control that allows you to build a dialog box that queries for SQL-Server connection parameters.
C# Methods : Part II
Jul 07, 2003.
This article completes our discussion of methods. In this article, you will learn parameter passing, reference and value type parameters, and method overloading.
Aug 05, 2003.
This article explains hot to define and use methods in C#.
Modal Popup Dialog Window in ASP.NET
Sep 15, 2003.
This sample show you how to create modal popup dialog window in ASP.NET that passes and returns multiple parameters.
Debugging a Compiled Component
Feb 02, 2004.
After an assembly is compiled into a dll in a release mode, it is very difficult to gather information from it such as runtime performance, parameters values, etc.
Populate SQL Servers and Databases dynamically in C#
May 27, 2004.
The attached source code is a class that provides methods to populate an array with the available SQL Server and databases on your network dynamically.
Refactoring in Visual Studio 2005
Jun 11, 2004.
Refactoring allows developers to use the built-in feature of Visual Studio to rename and convert and change the signatures and definitions of a class members. In this article, I will show you how refactoring feature provided by Visual Studio 2005 can be a handy tool when you are reorganizing or optimizing your existing projects.
Getting Web Statistics for Instant Downloads in ASP.NET
Nov 05, 2004.
One of the most important website activity parameters is the resource access statistic. Such information is necessary for many purposes - optimizing of the website content, marketing campaigns improvements and also for some diagnostic tests.
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.
Best Approach for Designing Interoperable Web Service
Mar 15, 2005.
This article will clarify and explain in detail the different Web Service Design Methodologies as defined by the Web Services Standardization Groups, clarify the terms, highlight their differences.
New Features of Visual Studio 2005 Editor
Nov 16, 2005.
In my previous articles, I discussed various new features introduced in Visual Studio 2005. This article is another addition to the same series. In this article, I discuss some new features of Visual Studio 2005 editor.
How do I Pass the Required Parameters of a Stored Procedure in Crystal Reports?
Dec 30, 2005.
This small tip shows how to pass the required parameters of a Stored Procedure in Crystal Reports.
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 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.
Passing parameters to C# Windows Services
Oct 06, 2006.
This article explains how to create C# windows service and pass parameters to it.
Tip: How to pass Crystal Report Parameters Programmatically?
Nov 02, 2006.
This tip shows how to pass a Crystal Report parameters and their values programmatically.
Generate SQL Statements With Objects, Attributes and Reflection
Jun 12, 2007.
Create a SQL Command with SQL Statement and Parameters dynamically.
Extendable/optional function using reflection
Aug 29, 2007.
This article explains how to use reflection to provide extendable/optional function to the user.
Working with Delegates: Part I
Oct 04, 2007.
We all are well aware about functions. In conventional way, we create object and we call object.method(). We know that they perform some given task and returns results based on the parameters we passed to them.
Call any stored procedure which take input parameters and return output parameters
Feb 01, 2008.
This one generic function can call any Stored Prodedure which take input parameters and return output parameters with the help of two-dimensions array. This is very helpful specially when you designing n-tier application.
Executing multiple stored procedures within a single transaction context from ADO.Net
Mar 20, 2008.
This article discusses how we can execute multiple stored procedures in ADO.NET with different parameter values in a single Transaction context.
Add and handle connection strings in an application configuration file: Part I
Apr 17, 2008.
There are two ways to save data and parameters. In this case we save application parameters like information entered by the user during the installation process.
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.
Working with Parameter Fields in Crystal Reports
Jun 24, 2008.
This article is intended to illustrate how to use Parameter Fields in Crystal Reports. Parameter fields enable the creation of reports that could be used in a variety of ways, prompting the user for all kinds of information specifically for record selection and report titles.
How to pass SQL Query Parameters to Crystal Reports using Oracle
Aug 06, 2008.
This article shows how to pass SQL query parameters to Crystal Reports using Oracle.
Connect to MySQL database - via ODBC without using DSN: Part II
Aug 11, 2008.
In order to connect to on MySQL method, I propose this more flexible solution, thus, it enables us to customize the connection parameters in one hand, moreover, it enables us to choose which mode should we use. I mean, ADO connected mode using data reader or disconnected mode using data adapter and data set.
Use CompiledQuery.Compile method to build parameterized DLINQ queries
Aug 29, 2008.
In this article, I will make use of the CompiledQuery.Compile generated method which receives a Lambda expression as parameter, and then it generates a delegate that returns a generic IQueryable object that one can enumerate it through a foreach loop.
Passing parameters to Crystal Reports at runtime with c#
Sep 29, 2008.
This article shows how to pass parameters to a Crystl Reports at runtime in C#.
The "SplashScreen" parameter is not supported by the "MarkupCompilePass1" Error
Nov 26, 2008.
You get the "SplashScreen" parameter is not supported by the "MarkupCompilePass1" error message when create and run WPF applications in Visual Studio 2008 SP1.
Coding Better: Programming From the Outside In for Fluent Interfaces. Part IV - A Real World Application
Feb 09, 2009.
In this article we'll look at building a fluent interface to abstract parameter assertions which gives us readable code that closely models spoken/written language. This will make code consuming our API contain less code debt and reduce the total cost of maintenance.
Passing startup parameters in a Silverlight 2 application
Mar 22, 2009.
This article describes how to pass startup parameters to a Silverlight application.
Parameters for ObjectDataSource in ASP.NET 2.0
Apr 30, 2009.
This article is intended to show how to invoke server-side methods (expecting input parameters) stored in the SQL Server 2005 Management System using the ObjectDataSource components.
Setting Null Value in an Optional Non-identifying Relationship Using ComboxBox
May 06, 2009.
The most common relationship in any data model is the one-to-many non-identifying relationship. Non-identifying relationship implies weak dependency relationship between parent and child entities. There are two kinds of non-identifying relationships, including optional and mandatory. The necessity of the parent entity is "exactly one" and "zero or one" in the mandatory and optional non-identifying relationship respectively. One problem I’ve tackled in many of my enterprise application is the presentation of complex data relationship such as optional non-identifying relationship using data binding techniques in Windows Forms applications. In this article, I will illustrate how to face this problem.
Setting Null Value to an Entity Property Through Textbox Control
May 12, 2009.
In this article, I want to document a bug in Visual Studio. NET concerning to setting a null value to entity property’s through a Textbox control. There is a common scenario to have an entity type in your data model where some attributes are optional. When you develop a rich client application using the Windows forms, data binding techniques and a Textbox to enter the simple data, and you want to set null the optional attributes of the underlying data source by leaving in blank the Text property of the Textbox control; then there is a missing feature for the Formatting and Advanced Binding dialog box for null values. They should have a checkbox there to allow people to use blank as null. In this article, I will show one simple solution to this bug.
Implementing business rules using customized DataSet objects
May 15, 2009.
Information systems contain and enforce rules about the business they support. A rule is constraint which describes the way how objects are to behave. Field-level validations are checks that pertain to the property values of the underlying business entities. For example, a field must be 50 characters or less in length or some fields are required while other fields are optional as well as some fields must be greater than a specific value.
Search and selection of data using LINQ
May 27, 2009.
In this article I will explain how you can use LINQ, when we should search and select some data according to parameters, defined by users.
Parameter passing in C#
Jun 01, 2009.
Article to explain how parameter are passed in C#.
C# 4.0: Named Parameters
Jun 15, 2009.
C# 4.0 has introduced a number of interesting features which includes Optional Parameters, Default Values, and Named Parameters.
Passing parameter by param
Jun 30, 2009.
In this article I will explain you how to pass parameter/s using param keyword.
InitParams in Silverlight
Jun 30, 2009.
Using InitParams in Silverlight
ADO.NET Objects: Part I
Jul 23, 2009.
In this article I will explain about ADO.NET objects. This will help you in understanding them in an easy manner.
Named Argument in C# 4.0
Jul 27, 2009.
In this article I will talk about a very new and highly useful feature of c# 4.0. I will give introduction of Named Argument. I will give one sample on possible usage of Named Argument.
Optional Argument in C# 4.0
Jul 29, 2009.
This article will give a very basic introduction of Optional Argument in C#4.0. This article will explain how Operation overloading and Optional Argument is different with samples. This article will give different syntax with Named parameter to work with Optional arguments.
Configuring Parameters and Parameter Data Types-ADO.NET
Aug 12, 2009.
In this article I will explain you about command object, benefits of parameterized command, DbParameter Object, ParameterDirection Property and Parameter Data Types in ADO.NET
How to Create Dynamic Crystalreport with Parameter Passing in C# Windows Application
Sep 27, 2009.
In this article you can learn how to Create Dynemic Crystalreport with parameter passing in C# (Windows Application).
Nov 05, 2009.
This short article is based on the classic “Hello, World” sample program familiarizes you with the language syntax and introduces the command line compiler.
Method Parameter Types in C#
Dec 02, 2009.
In this article I will explain you about Method Parameter Types in C#.
Parameters in ADO.NET
Jan 17, 2010.
In this article I will explain about Parameters in ADO.NET.
Crystal Reports Optional Table Linking and the Importance of Order
Feb 22, 2010.
In this article you will learn how to use Crystal Reports Optional Table Linking and the Importance of Order.
Executing a Stored Procedure Programmatically
Mar 04, 2010.
In this article I will explain executing a Stored Procedure Programmatically.
Encoder Parameters and Image Formats in GDI+
Mar 08, 2010.
In this article I will explain about Encoder Parameters and Image Formats in GDI+.
Method Parameters in .NET 4.0
Apr 20, 2010.
In this article I explain about optional parameters and named parameters.
New features of C# 4.0
Apr 27, 2010.
In this article, I want to talk about the new features being integrated with the new version of C# 4.0 language.
Using Objects as Parameters and Return Types in Remoting
Apr 30, 2010.
In this article I will explain you about Using Objects as Parameters and Return Types in Remoting.
How to create Line Graph and Bar graph on same parameters in asp.net
Jun 03, 2010.
We can use GDI+ to draw chart components in C# or VB.NET language in memory and once the components are drawn in memory, we can save the drawing in an image on the Web server. Once the image is saved, we can display this image in an ASP.NET page using any Image tag or image control.
Parameter Arrays in C#
Jul 19, 2010.
In this article you will learn how to use Parameter Arrays in C#.
Passing parameters to a function by Value and by Reference
Oct 25, 2010.
In this article we will see how to pass parameters to a function by Value and by Reference.
C# 4.0 Method Parameters
Oct 29, 2010.
This article talks about optional parameters.
Named arguments in C# 4.0
Dec 02, 2010.
This new feature of c# 4.0 allows users to define arguments in the calling statement in any order rather than defined in the parameter list.
Betterness rule while calling a method in C# 4.0
Dec 03, 2010.
In a case where a method is overloaded and along with that some of the parameters are optional for one or more definitions, then there is some confusion related to which version of the overloaded method is to be called.
Factory Pattern in C#
Jan 19, 2011.
The Factory Pattern is a Creational Pattern that simplifies object creation. You need not worry about the object creation; you just need to supply an appropriate parameter and factory to give you a product as needed.
Learning WCF RIA Service Part #2: Adding Query Methods
Jan 27, 2011.
This is the second article of learning WCF RIA series. In this article we will see how to pass a parameter in a query, how to return a single object, how to return multiple objects and how to call the query method with parameter.
Table Valued Parameter in SQL SERVER 2008
Feb 23, 2011.
Here we are going to discuss the new parameter type which is introduced in SQL Server 2008 version.
Lambda Expressions with Multiple Parameters
May 01, 2011.
Lambda Expressions are getting good recognition among developers and it would be nice to have the next level of information regarding it.
Input Parameters Scenario in SQL Stored Procedure (SQL Server 2005/2008)
May 02, 2011.
Here you will learn 4 Input parameter scenarios in SQL Stored Procedure (SQL Server 2005/2008).
Optional and Named Arguments in C#
May 31, 2011.
In this quick article you will learn about Optional and Named Arguments in C#.
Passing Table Valued Parameter to Stored Procedure: Part 1
Jun 16, 2011.
In this demonstration I am taking simple scenario, where I will to pass customers information to stored proc and insert customer rows into database.
Passing Table Valued Parameter to Stored Procedure: Part 2
Jun 16, 2011.
Here you will see how to pass a table valued parameter to a Stored Procedure.
Passing Parameter to Screen in LightSwitch Beta 2
Jun 27, 2011.
Today we shall see how to display a screen with records retrieved from a database based on the parameter passed to the screen.
Jun 28, 2011.
Facts of Ref And Out Type Parameters in C#
Jun 30, 2011.
In this quick article you will take a look at the facts of ref and out type parameters in C#.
Method Parameter Modifiers in C#
Jul 21, 2011.
In this quick article you will take a look at method parameter modifiers in C#.
Finding value of initial parameter in servlet
Aug 29, 2011.
In this article you will learn the process to read value from web.xml file into the servlet.
How to get the List of Sorted SystemParameters in WPF using F#
Aug 31, 2011.
This article is a demonstration regarding how you can get the sorted SystemParameters in WPF using F#. Take a quick review to learn.
Optional Parameters and Named Arguments in C# 4.0
Sep 02, 2011.
Optional parameters and named arguments have been a part of C++ and VB.Net for years. They are new to C# in version 4.0.
Passing the Command Line Arguments in .NET
Sep 26, 2011.
Even with modern UI, we often need a way to start our programs with specific parameters. Command line arguments are helpful to provide those parameters without exposing them to everybody.
Pass a Parameter into a Screen from the Command Bar in a LightSwitch Application
Nov 12, 2011.
In this article, I will tell you how to Pass a Parameter into a Screen from the Command Bar in a LightSwitch Application.
Work with "out" and "ref" keywords in C#
Nov 15, 2011.
The out and ref keyword look quite similar in nature. Both parameters are used to return back some value to the caller of the function. But still there is a small but important difference between them. Both of the parameter type has been kept in the C# language for specific scenario.
AES Encryption using 256 bit Encryption key and IV spec parameter
Nov 17, 2011.
AES is a strong algorithm to encrypt or decrypt the data. Java, .NET and C++ provide different implementation to achieve this kind of encryption.
Creating and Consuming Overloaded Method in Web Service
Nov 23, 2011.
In this article, I am using the concept of function overloading and creating a web service to check the amount of users depending on different parameter.
Learning the Basics of Delegates in C#
Dec 05, 2011.
Delegates are a type that reference a Method. When it is assigned by a method it behaves exactly the same as that method. It can be used as parameters and can be returned as a value. So it has same what are the methods have.
Dig Out on Named vs Optional Arguments Clear Implementation in C# 4.0
Dec 06, 2011.
Today, Let’s see the one of the main feature of C# 4.0 i:e Named and Optional arguments. Firstly, we will do theory based session to understand this and later we will try to implement these concepts. This concept is very useful and we can code in much organized way using these two arguments.
Save, Delete, Search And Update Record Using SqlParameter Class in ADO.NET
Jan 05, 2012.
In this article you will learn to work with the SqlParamater class in ADO.NET.
Using an Array as a Parameter in C#
Jan 23, 2012.
This article is about passing a reference type (like an array) to a method.
Using "OUT" Parameter With Stored Procedure in ASP.NET
Jan 24, 2012.
Here I will explain how to use "OUT" parameters returned by a SQL Query in ASP.NET.
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.