Monthly Archives: November 2012

Evolution of C Sharp Language: Picture Blog

I was working on something and suddenly a mail popped up. I did not know the sender but I found he/she was a job aspirant. I found him/her very impatient and gist of his/her mail was, “Sir tomorrow I got

Tagged with: , ,
Posted in CSharp

Method Caller Information in C Sharp 5.0

Before we understand Method Caller Information feature of C# 5.0, we need to understand Optional Parameter feature of C# 4.0. C Sharp 4.0 introduced Optional Parameter feature . According to this feature, in function call only required parameters are needed

Tagged with: , , ,
Posted in CSharp

What is Namespace in WinJS

Let us first try to understand, why we need Namespace? I will try to explain you with an example, let us suppose you have a function named GreetingMessage in JS file named Library.js Now you need to use this function

Tagged with: , , ,
Posted in Windows Store Apps

What is Associative Array in JavaScript?

In this post I discussed about Arrays in JavaScript. We access elements of JavaScript array using numeric index. For example, if you want to access 3rd element of a JavaScript array, you will do that as following If you want

Tagged with: , ,
Posted in Web

Working with Array of Arrays in JavaScript

  If you have worked with languages like C, C++ or C# then you must be aware with the concept of multidimensional array. Multidimensional array implies arrays of array. In a two dimensional array, there would be rows and columns.

Tagged with: , ,
Posted in Web

Sorting of JavaScript Array

image_thumb.png

Does not matter what language you are working on, you will always find Sorting as an essential part of the language. In this post we will focus on Sorting in JavaScript. Sorting is a technique to arrange elements in certain

Tagged with: , , ,
Posted in Web

For-in loop in JavaScript Array

image20

    For-in loop is used to iterate through an object. Let is suppose you have an object as following   You can iterate through object properties using for-in loop. You can iterate as following listing,   You will get output

Tagged with: , ,
Posted in Web

Arrays in JavaScript

image_thumb.png

In JavaScript Arrays are an object. You can create Array is JavaScript as following   An array element can be accessed using its index. For example if you want to read banana, you will read that as following,   Likely

Tagged with: , , , , , ,
Posted in Web

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Categories
Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my current or previous employer's view in anyway. © Copyright 2013
Follow

Get every new post delivered to your Inbox.

Join 2,134 other followers