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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • 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.
  • Variables & Operators in MySQLNov 30, 2011. In this article we will learn how variables & operators are used in MySQL.
  • 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.
  • 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.
  • 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.
  • 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.
  • To Find The Length of The Business Object at Run TimeJan 05, 2012. A business object is an entity that relates to the real world. In C# we create classes to define the real world entities. This class contains variables, and for each variable we have its properties and methods defined.
  • Using Superclass Variables with Subclassed Objects in JSPFeb 07, 2012. In this article we are using Superclass Variables With Subclassed Objects In JSP.
  • Variables in PHPFeb 12, 2012. In this article you will see the types of variables and how to use variables in PHP.
  • Interlocked Class in c# ThreadingMar 07, 2012. The methods of this class help protect against errors that can occur when the scheduler switches contexts while a thread is updating a variable that can be accessed by other threads, or when two threads are executing concurrently on separate processors.
  • Importance of While Loop and Table Variable in SQL ServerMar 15, 2012. This article explains the While loop, a table and variable combination with an example.
  • How to Play With Enum in C#Mar 17, 2012. In this article you will see use of Enum variables in C#.
  • How to Access a Control in Another FormApr 09, 2012. How to access controls in other forms using a worker class that accesses the controls on any form without public methods or accessor variables.
  • PHP Tutorial 2 - Hello World ProgramJul 16, 2012. This tutorial will guide you to a simple "Hello world" program in PHP; it will also show the use of loop and conditional statements in PHP.
  • URL Rewriting in ASP.NETSep 03, 2012. Most sites include variables in their URLs that tell the site what information to be shown to the user. It is something like telling the code to load particular details of item number 7 from a shopping site.
  • Use of Environment Variable in Windows 8Sep 18, 2012. This article describes How to Use of Environment Variable in Windows 8.
  • Global Variables in SQL Server 2012Nov 02, 2012. This article contains the most commonly used global variables in SQL Server under a single article with examples.
  • Pass Variable From One Page to Other using VB.NETNov 09, 2012. In this article we will learn how to pass values or variables from one page to other page.
  • Understanding and using Properties in VB.NETNov 10, 2012. In this article, you will learn about properties in VB.NET. Here you will learn how to define and use properties.
  • Use Thread Local Storage to pass Thread Specific Data in VB.NETNov 10, 2012. In an ideal world developers typically create instance variables and access these via interfaces to hold thread specific data. The .NET framework provides a mechanism to store data at a thread level and allows you to access this thread specific data anywhere this thread exists.
  • Creating Various Types of Tables in SQL Server 2012Nov 20, 2012. In this article, I am going to give a quick overview of the various types of tables in SQL Server.
  • Difference Among @@IDENTITY, SCOPE_IDENTITY() And IDENT_CURRENT()Dec 03, 2012. In this article I am explaining how to get the last inserted identity value of an auto increment column of database tables using SQL Server variable (@@IDENITY) and functions (SCOPE_IDENTITY() and IDENT_CURRENT()). Both @@IDENTITY and SCOPE_IDENTITY() return the last identity value that are produced in a single session; in other words a connection while IDENT_CURRENT() returns the last identity value according to the table for any session.
  • Interface in C#: Part 2Jan 07, 2013. In this article I am explaining that how can inherit an interface on class or interface. We will look here that how can inherit multiple interface on classes and use interface type variable.
  • Using Constants and Variables to Add Functionality in PHPJan 09, 2013. This article explains use of constants and variables in PHP.
  • Passing the Variable Through GET in PHPJan 10, 2013. Basically we are discussed in this article passing variables through a URL By Using GET.
  • Static Variables, Static Methods and Objects in C#Jan 11, 2013. In this article you will learn what is and how to work with static variables, static methods and objects in C#.
  • PHP Form HandlingJan 11, 2013. The PHP $_POST variables are used to retrieve information from forms, like user input.
  • Passing Variable in PHP SessionJan 14, 2013. A PHP session variable is used to store information about, or change settings for a user session. Session variables hold information about one single user, and are available to all pages in one application.
  • Let Operator in LINQJan 17, 2013. LINQ has one operator called “Let” that allows us to create / declare variables inside the LINQ query.
  • Gettype and Settype Function in PHPFeb 12, 2013. In this article I explain the settype() and gettype() functions in PHP.
  • Dynamic Variable in PHPFeb 12, 2013. In this article I explain variable of variable or dynamic variable in PHP.
  • Isset Function in PHPFeb 14, 2013. In this article I explain the isset function in PHP.
  • Some Important XML Data Type Methods in SQL Server 2012Feb 22, 2013. Today, I have provided an article showing you Query, Node and Exist methods with XML type variable in SQL Server.
  • Static Variable in PHPMar 04, 2013. In this article I will explain static variables in PHP.
  • Features of JavaScript in Visual Studio 2012:Recursion and Variable ScopeMar 04, 2013. In Today's Article you will learn about some more New Features of JavaScript in Visual Studio 2012 like Recursion and Variable Scope.
  • Global and Local Variable in JavaScriptMar 04, 2013. In this article I describe global and local variables in JavaScript.
  • Understanding Data Types in PHPApr 05, 2013. In this article I will explain data types, type casting and how to test the type of a variable in PHP.
  • Var Dump Function in PHPApr 08, 2013. In this article I will explain the "var_dump" variable handling function in PHP.
  • Temporary Tables vs Table Variable in SQL Server 2008May 04, 2013. In this article you will learn about Temporary Tables and Table Variables in SQL Server 2008.
  • Learn Object Oriented Programming Using C#: Part 2May 10, 2013. Properties play vital role in object oriented programming it allows us to access the private variable of class outside the class.
  • Variable Parsing in PHPMay 10, 2013. In this article I will explain Variable Parsing in PHP.
  • Learn Object Oriented Programming Using C#: Part 1May 10, 2013. C# is totally based on OOPs. First of all, a class is a group of similar methods and variables.
  • Introduction To Varargs (Variable Arguments) In JavaMay 28, 2013. In this article we discuss Varargs (Variable Arguments) in Java.

About Superclass-Variables

NA

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
European SharePoint Conference