By tag: CSharp
0
kicks
An Advanced Introduction to C#
This is the first part of a series of tutorials on C#. In this part we are introducing the fundamental concepts of the language and it's output, the Microsoft Intermediate Language (MSIL). We will take a look at object-oriented programming (OOP) and what C# does to make OOP as efficient as possible ...
0
kicks
C#/.NET Little Wonders: Extension Methods Demystified
I have had the pleasure to program in a variety of programming languages throughout the years including the trifecta of C++, Java, and C#. It's often interesting how these three languages are so similar and yet have such key differences as well. Each of them has features that I miss when I work with...
0
kicks
C# Working With ArrayList: What is the best Iterator choice?
When you first look at which statement to use to iterate through an ArrayList collection, the foreach statement stands out. It's syntax is concise and readable as well as no extra lines of code are needed to extract the element you want to work with. But...[pause for effect]...if the collection is...
0
kicks
Passing Parameters By Value & By Reference
This article describes in details how passing parameters by value and by reference for both value and reference types. I tried to make the language and examples geared more towards the beginner, by explaining concepts in concise and clear language. There are even examples to show how memory locati...
0
kicks
C# Passing Parameters By Value & By Reference
This articles explains in concise, clear language (geared towards the beginner) how C# passes parameters by value and by reference. Other articles, although well written, were not targeted for the beginner, who may not understand terms like "reference to" or what the "new" keywo...
0
kicks
Cropping image using jQuery, Jcrop with AspJpeg in ASP.NET
Image cropping guide by jQuery, AspJpeg, Jcrop in ASP.NET. Lets get the basic structure of the Image Cropping like Facebook, LinkedIn and etc...
0
kicks
Creating a Data Access Layer (DAL) for ASP.NET and C# Part-3
Get the last identity value inserted into an @NEWID variable in the same scope by Data Access Layer (DAL) Class.
0
kicks
Creating a Data Access Layer (DAL) for ASP.NET and C# Part-2
Welcome to another article of Data Access Layer (DAL) for ASP.NET and C#. Here I will tell you about how to create method for INSERT, UPDATE and DELETE. This method will return affected rows count by ExecuteNonQuery Method.
0
kicks
Creating a Data Access Layer (DAL) for ASP.NET and C# Part-1
In ASP.NET you should use ADO.NET Data Access Model for designing a Data Access Layer. I'm going to show you a DAL Framework which you can use in any project for SELECT purpose.
0
kicks
Thread Pool using Core-Affine Threads
Article with source code for a ThreadPool replacement which uses the XBox 360's hardware threads (which are only used when threads are assigned to them explicitly). Common problems with manually assigned processor affinity on desktop PCs are highlighted and the author shows a solution that allows th...
0
kicks
The HttpWebRequest and Using Client Certificates
So you may have found yourself in a similar situation, needing to make a TCP/IP request to a 3rd party API possibly using SSL. Well, that is a quite simple task. It can however, be complicated if this 3rd party requires the use of certificates for communication to its API server.
0
kicks
SubText Skinning: Content selection for SingleColumn control
I wrote my first article on SubText skinning covering the steps required to split the SingleColumn control into smaller pieces when used in custom skin development.
0
kicks
C#:- Usage of As Keyword in C#
This article show a little hidden keyword in C# called "As" its usage when it is benificial to use it and when its not.
0
kicks
VS2005 C# Code Snippet Cheat Sheet
Here's all the built-in Visual Studio 2005 C# Code Snippets on one single page for easy printing and reference.