|
||
C# KeywordsInterface
Interface defines a contract. a class that implement an interface must implement its members.
A delegate in C# is similar to a function pointer in C or C++.
the delegate declaration with the same method signature as the referenced method
The using statement defines a scope at the end of which an object will be disposed.
using (SqlConnection cn = new SqlConnection(connectionString))
The lock keyword marks a statement block as a critical section by obtaining the mutual-exclusion lock for a given object, executing a statement, and then releasing the lock.
useful when using a limited resource preventing parallel users to over consume or trying to change the same thing in the same time.
lock (this) <- the this stand for this class which returns the amount
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.
public RefOut()
|
|
HOME|
IIS6 pipeline|
ASP.NET pipeline|
Http Modules|
Http Handlers|
Caching|
Web Services|
Page Life Cycle|
Ajax|
Jquery|
Session State ViewState| SEO| Mobile Basics| Mobile Handsets| C# Modifiers| C# Keywords| N-Tier| Design patterns| Stack & Heap| WCF Databases| Relational Model| functionalities| Stored procedures| fishmarket |
|
| © 2010 All Rights Reserved |