Covariance and Contra-variance with delegates in C# (via deepssharma)

Covariance and Contra-variance seems to be scary terms for a very simple and familiar concept.  C# 4.0 introduces the notion of Covariance and Contra-variance of generic type parameters for interfaces and delegate types.  For delegate types: Covariance and contra-variance provide a degree of flexibility when matching method signatures. Covariance permits a method to have a more derived return type than what is defined in the delegate. Following e … Read More

via deepssharma

Advertisements
Posted in Uncategorized | Leave a comment

Fixed Label Using jQuery (via Haseeb Akhtar)

Fixed Label Using jQuery Fixing a label using CSS may not work in all browsers to handle this problem, if you want to achieve fixed label using jQuery position plugin here is the solution :- To set a position:- For handling scrollable window:- … Read More

via Haseeb Akhtar

Posted in Uncategorized | Leave a comment

How to get the call-stack of a javascript function (via Ilyas Ahmad’s blog)

http://blog.fgribreau.com/2010/07/how-to-get-call-stack-of-javascript.htmlRead More

via Ilyas Ahmad's blog

Posted in Uncategorized | Leave a comment

Optimizing SQL Query Processing (via Ilyas Ahmad’s blog)

Optimizing SQL Query Processing Introduction SQL query processing requires that the DBMS identify and execute a strategy for retrieving the results of the query.  The SQL query determines what data is to be found, but does not define the method by which the data manager searches the database. Hence, query optimization is necessary for high-level relational queries and provides an opportunity for the DBMS to systematically evaluate alternative query execution strategies and to c … Read More

via Ilyas Ahmad's blog

Posted in Uncategorized | Leave a comment

Event Receivers in Share Point (via Prashant Gaur)

Event Receivers in SharePoint One of the extremely powerful & exciting feature of SharePoint is the ability to create event receivers for any list type. An event receiver is a piece of managed code that is executed in response to an event takes place within SharePoint. These events can be triggered in response to changes to list items, creation of new lists items, list items being deleted and much more. List event handlers are made possible t … Read More

via Prashant Gaur

Posted in Uncategorized | Leave a comment

HTML5 BASIC PAINTING APPLICATIONS (via anshikajaggi)

1. How to use a pencil tool in html5 canvas To Use Pencil Tool  We have to use some Event Listeners by which we can move our mouse anywhere on screen and draw Circles, arcs, rectangles, lines etc. Firstly, to use Event Listeners we have to create a function in it () in which we have to write the name of all Event Listeners used in our application, In this application we use mouse down, mouse move, mouse up Event Listeners. Then in same function w … Read More

via anshikajaggi

Posted in Uncategorized | Leave a comment

When to use web storage and when to use jquery.data (via Abhishek Tyagi)

JavaScript Web Storage (DOM Storage) Web Storage also known as DOM Storage is a mechanism for client-side persistent data storage. There are two types of storage, Session Storage and Local Storage, exposed through the sessionStorage and localStorage global objects, respectively. Session Storage Session storage is intended for short-lived data and is available through the sessionStorage attribute of the window object (i.e. it is a global object). … Read More

via Abhishek Tyagi

Posted in Uncategorized | Leave a comment