Stories recently tagged with 'csharp'

C# Working With ArrayList: What is the best Iterator choice?(coderpaws.blogspot.com)

submitted by CoderPawsCoderPaws(140) 1 year, 5 months ago

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 changed (e.g. adding, modifying, or deleting elements and even copying to it), you'll get a runtime error that the "Collection was modified." read more...

1 comment |category: |Views: 341

tags: another

C# Passing Parameters By Value & By Reference(coderpaws.blogspot.com)

submitted by CoderPawsCoderPaws(140) 1 year, 5 months ago

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" keyword actually does. I talk about how stack and heap memory and demonstrate these concepts by grabbing the memory locations and posting them to the Console. read more...

add a comment |category: |Views: 273

tags: another

Passing Parameters By Value & By Reference(coderpaws.blogspot.com)

submitted by CoderPawsCoderPaws(140) 1 year, 5 months ago

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 locations are passed and handled. read more...

2 comments |category: |Views: 145

tags: another

Cropping image using jQuery, Jcrop with AspJpeg in ASP.NET(blog.webwizo.com)

submitted by webwizowebwizo(104) 1 year, 7 months ago

Image cropping guide by jQuery, AspJpeg, Jcrop in ASP.NET. Lets get the basic structure of the Image Cropping like Facebook, LinkedIn and etc... read more...

add a comment |category: |Views: 89

tags: another

Creating a Data Access Layer (DAL) for ASP.NET and C# Part-3(blog.webwizo.com)

submitted by webwizowebwizo(104) 1 year, 8 months ago

Get the last identity value inserted into an @NEWID variable in the same scope by Data Access Layer (DAL) Class. read more...

add a comment |category: |Views: 65

tags: another

Creating a Data Access Layer (DAL) for ASP.NET and C# Part-2(blog.webwizo.com)

submitted by webwizowebwizo(104) 1 year, 8 months ago

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. read more...

add a comment |category: |Views: 66

tags: another

Creating a Data Access Layer (DAL) for ASP.NET and C# Part-1(blog.webwizo.com)

submitted by webwizowebwizo(104) 1 year, 8 months ago

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. read more...

add a comment |category: |Views: 159

tags: another

Thread Pool using Core-Affine Threads(cygon.nuclex.org)

submitted by CygonCygon(134) 2 years, 4 months ago

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 the operating system to reschedule threads while still yielding comparable behavior to the explicit affinity model used by the XBox 360. read more...

add a comment |category: |Views: 100

tags: another

The HttpWebRequest and Using Client Certificates(blog.reamped.net)

submitted by kayoskayos(890) 2 years, 9 months ago

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. read more...

add a comment |category: |Views: 113

tags: another

SubText Skinning: Content selection for SingleColumn control(diago.co.za)

submitted by DiagoDiago(45) 2 years, 9 months ago

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. read more...

add a comment |category: |Views: 30

tags: another

C#:- Usage of As Keyword in C# (smallworkarounds.blogspot.com)

submitted by ash143guptaash143gupta(750) 3 years, 2 months ago

This article show a little hidden keyword in C# called "As" its usage when it is benificial to use it and when its not. read more...

1 comment |category: |Views: 514

tags: another

Optimizing the hash table(nosoupforme.com)

submitted by daninordaninor(435) 4 years, 1 month ago

A few performance tips and less known facts about hash tables read more...

add a comment |category: |Views: 374

tags: another

VS2005 C# Code Snippet Cheat Sheet(john-sheehan.com)

submitted by rimsystemsrimsystems(6119) 5 years, 1 month ago

Here's all the built-in Visual Studio 2005 C# Code Snippets on one single page for easy printing and reference. read more...

add a comment |category: |Views: 652

tags: another