C# Corner

Resources  
  • Using the ref ParameterMar 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.
  • Assemblies : The Ins and Out : Part IApr 13, 2001. In Part 1, I will cover what exactly an assembly is, and what an assembly contains.
  • Assemblies : The Ins and Out : Part IIApr 16, 2001. In this part, I will discuss both Private and Shared assemblies and how to create a "Shared Assembly".
  • Naming Guidelines in .NETApr 20, 2001. Commenting and following a uniform naming guidelines in your code is one of good programming practices to make code more useful.
  • Assemblies : The Ins and Out : Part IIIApr 20, 2001. In this part I will discuss in more detail than Part 2, the available utilities for manipulating assemblies.
  • 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 ParameterJun 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.
  • What & Why : Properties :: Part 2Jul 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 UnboxingSep 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.
  • C# Discussion Forum from Harrison LogicJan 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.
  • .NET Static Variables : Better than Application!Feb 22, 2002. In traditional ASP, we always had the Application object to store application-wide variables in.
  • A Shaped Windows Forms Application with Variable OpacityMar 11, 2002. This application demonstrates two simple techniques that beginners might find useful in developing creative new looks for Windows applications.
  • 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.
  • 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.
  • Basics of Extending Your Working Environment in Visual StudioApr 10, 2003. All of us have used Macros in Microsoft Office and Add-ins in Visual Studio 6 and I am very sure all of us have been impressed as well by their power to control their own working environment.
  • Part I: Simple Color Syntax Code Editor for PHP written in C# and .NETJun 18, 2003. The Application is a simple Windows Form program that allows you to open and save the text files edited in the rich edit control, as well as print them out. The program takes advantage of a “syntax” text file for PHP which lists the functions and keywords contained in the PHP language.
  • Part I: Simple Color Syntax Code Editor for PHP written in C# and .NETJun 18, 2003. The second part of this article shows how to print out the contents of a RichTextBox control.
  • 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.
  • Difference between passing reference types by ref and by valueSep 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.
  • 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.
  • Learning Delegates in C#, an IntroductionJan 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 VariablesJan 14, 2006. In this article we'll cover the behaviors of variables to Reference Types.
  • C# Heap(ing) Vs Stack(ing) in .NET: Part IIIJan 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 IIJan 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# Heap(ing) Vs Stack(ing) in .NET: Part IVJan 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 applicationApr 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 PageJun 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 TypeSep 18, 2006. This article shows you all the difference between reference and value type variables.
  • Tip related to sub containers and SqlDataSourceDec 06, 2006. This article provides some tips when working With Master page or SqlDataSource insert function In VS 2005.
  • Introduction to Building a Plug-In Architecture Using C#Sep 10, 2007. In this article we'll take another look at how we can use the state pattern to build a plug-in architecture that will allow us to change the behavior of our application by placing differnt plug-ins into a folder.
  • 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.
  • Developing a PHP Website using Visual Studio 2005Jun 03, 2008. Yes it’s possible to use PHP under Visual Studio 2005 and even Visual Studio 2008 IDE. In this tutorial, I will show a walkthrogh how it is possible to develop a classic PHP web application.
  • Simulating Autonomous Transactions in Microsoft SQL ServerOct 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.
  • Introduction to Visual Studio Add-insMar 03, 2009. This article explains about Visual Studio 2008 Add-ins.
  • Introduction to Interfacing Win Forms with VS Add-insMar 04, 2009. This article explains about integration of Windows Forms with Visual Studio Add-ins.
  • Paging and Sorting ListViews with ASP.NET MVC and jQueryMar 23, 2009. This article provides a simple example of using jQuery along with the jQuery tablesorter and tablesorter.pager plug-ins to provide sorting and paging support for a listview within the context of an ASP.NET MVC application. JQuery has partnered with Microsoft and is now integrated within the IDE to include the availability of intellisense support.
  • Singleton PatternJun 09, 2009. In this article we will implement Singleton pattern to maintain global variables in Winform application.
  • Session ObjectAug 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.
  • Using Table Variables Instead of Temporary Tables in SQL ServerOct 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 INov 26, 2009. This article explains about the new features introduced in C# 3.0 with sample codes.
  • Debugging and Tracing in C# Feb 04, 2010. In this article I will explain you about the Debugging and Tracing in C#.
  • 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.NETMar 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.
  • Developing SOAP Web Services with PHPMay 28, 2010. In this article you will learn how to Develop SOAP Web Services with PHP.
  • Temporary Table vs Temporary Variable in SQL ServerJun 11, 2010. We have seen lot of difference between temporary variable and temporary table. Here is a nice difference in Transaction perspective.
  • 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+.
  • Session Variables as ObjectsSep 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.
  • Values caught in intervalsOct 26, 2010. In this article we will see how to set your variables in defined interval or range.
  • Difference between value type and reference typeDec 02, 2010. This article tells us the difference between value type and reference type variables.
  • Indexing Table Variables in SQL ServerDec 08, 2010. In this article you will learn how to use Index Table variables in SQL Server.
  • Deferred Execution and Immediate Execution in LINQDec 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#.
  • Difference Between Temp Table and Table VariableJan 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#.
  • Constructors in C#Apr 26, 2011. A constructor is a special method available under every class responsible for initializing variables of the class.
  • Variables And Data Types in JavaJul 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.
  • Object Initializer in C#Jul 29, 2011. Here you will learn some new features in C# 3.0 ike Object initializer, implicitly typed variables, extension methods, anonymous types, object initializer, Collection initializer, and automatic properties.
  • Ins Tag in HTML5Aug 02, 2011. The ins tag defines text that has been inserted into a document.
  • How to Access Environment Variables in VisualCOBOLSep 07, 2011. The purpose of this article is to provide the reader with an example of how to read and set environment variables from within a managed COBOL environment. We will utilize a WinForm to provide our user interaction.
  • Scope of Variable in ServletSep 19, 2011. Servlets can use four types of scope for the variables.
  • Introduction to F#Oct 05, 2011. F# is a multi-paradigm .NET language explicitly designed to be an ML suited to the .NET environment. or, F# is a functional programming language that runs on Microsoft's Common Language runtime and the .NET Framework.
  • Creating Generic Enums using C#Oct 11, 2011. An enum variable can then be set to any one of these constants or (in the case of ‘Flags’ enums) to a meaningful combination of them.
  • Session and Application in ASP.NETNov 01, 2011. This article shows the use of session and application level variables in ASP.NET.
  • .NET 3.0 & 3.5 New FeaturesNov 12, 2011. This article is very useful to understand the features of C#. There are many features like Auto implemented property. Anonymous types, Partial methods, object initializes, implicitly typed local variables.
  • Audio tag in HTML5Nov 22, 2011. This new element allows you to deliver audio files directly through the browser, without the need for any plug-ins. embedding the audio file into a web page via the src attribute.
  • Introduction to PHPNov 26, 2011. PHP Stand for "Hypertext Preprocessor". PHP is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.
  • Naming, passing data and capturing variables in ThreadNov 26, 2011. We know that every thread has a name property that you can set for the benefit of debugging. Thread’s name is displayed in the threads window and debug location toolbar.
  • Installation of XAMPP Server to run PHP programNov 28, 2011. XAMPP Server is a free and open source cross-platform web server solution stack package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP programming languages.
  • Action Tag: useBean in JSPNov 29, 2011. The <jsp:useBean> action tag is used to instantiate a java bean, or to locate an exisiting bean instance, and assign it to variable name or id. Bean is a reusable component which mostly contains the setter and getter values, we also called it as mutators.
  • Simple HTML embedded application in PHP Nov 29, 2011. PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded in HTML.
  • Working with database in PHPNov 30, 2011. In this section we are going to know that how to work with a database with the XAMPP server of PHP where MySQL is in the back-end.
  • Variables & Operators in MySQLNov 30, 2011. In this article we will learn how variables & operators are used in MySQL.
  • Login Page in PHPDec 01, 2011. In this article we will know how to do a simple login page using PHP.
  • Display data from a database through PHPDec 03, 2011. In this article we will learn how to display the records from the database using PHP. Before going forward we should know about WAMP Server. This is an environment where we can run your php scripts and create databases.
  • Create Login page using PHP Dec 04, 2011. The login page is the most important web page in web-development, the login page provides secure access to websites for registered users only.
  • Work with Strings in PHP Dec 05, 2011. PHP is a hypertext-preprocessor. In PHP, a string can be used directly in a function or it can be stored in a variable. With a string variable we can store and manipulate text.
  • Registration page in PHPDec 05, 2011. In this article we will learn how to create a simple registration page using PHP.
  • Working with PHP functions with XAMPP Dec 06, 2011. In this section we are going to understand with php functions. PHP is very well known in the world of web-development & is a powerful tool for making dynamic and interactive Web Pages.
  • Working with PHP Include()Dec 07, 2011. Here you will learn how to insert the content of one PHP file into another PHP file using the include() or require() functions before the server executes it.
  • Populate a Dropdown and Display a Related Record in PHPDec 09, 2011. In this article we will learn how to populate a Dropdown with records from the database and display the related record when dropdown value is selected.
  • Working with files in PHP Dec 10, 2011. In this article we are going to understand the handling of files with a practical approach. File handling functions in PHP are extremely useful and user-friendly.
  • Sorting in PHPDec 10, 2011. In this article we will learn how to do sorting in PHP using AJAX.
  • Display Related Records in PHPDec 10, 2011. In this article we will learn how to display related records from the database when we click a show all link using PHP.
  • File uploading in PHP using XAMPPDec 11, 2011. In this article we are going to understand how to upload a file with the help of PHP. For this purpose you must install a XAMPP server.
  • Paging in PHPDec 12, 2011. In this article we will learn how to do paging in PHP using Ajax.
  • Working with cookies in PHPDec 12, 2011. Today I will discuss about cookies in PHP which, in short "cookies are small strings of data created by a Web server but stored on the client".
  • Working with PHP SessionsDec 13, 2011. Hi guys, In this article we are going to learn the concept of a session in PHP. The PHP session variable is used to store information about, or change settings for a user session.
  • Send mail on local host via Mercury with XamppDec 17, 2011. In this article we are going to have some interesting things with PHP; we are going to send mail via mercury with XAMPP.
  • Work with Static Methods and Variables in PHPDec 19, 2011. In this article we are going to understand the concept of static methods and variables. Methods and variables can also be used and accessed if they are defined as static in a class.
  • Exception handling in PHP: Part 1Dec 20, 2011. In this article we are going to understand the concept of exception handling. An exception is the abnormal termination of the program and here you learn how to handle this exceptions.
  • Volatile keyword in C# ThreadingDec 21, 2011. The volatile keyword is a convenience keyword for those who need to access member variables of a class or structure in multithreaded conditions.
  • Exception handling in PHP: Part 2Dec 21, 2011. In this article we going to understand the next four error handling methods. An exception is the abnormal termination of the program. It is known as run time errors.To avoid the abnormal termination of program we use exception handling.
  • Work with a Filter in PHP Dec 24, 2011. In this article we are going to understand the concept of the PHP filter. First of all we need to understand the concept thoroughly. You must have installed the Xampp server.
  • Insert Statement With PHP ScriptDec 27, 2011. In this article we are going to have a glance at the insert into statement through PHP. The INSERT INTO statement is used to insert new records in a table. Here we are going to explore the concept thoroughly.

About variables-in-PHP

NA

SPONSORED BY

C# Corner Chandigarh DevCon16
Chandigarh DevCon16 is a one-day Developer Conference where programmers, technologists, authors, and members meet, demonstrate, plan, and hang out.
techbash 2016