Author: admin

  • Blog
  • Author: admin

GetYear Function in Java Script is not working properly in firefox

Hi Folks, I have found that some times in firefox getyear function is not working properly. For example.We define a date value with following. var dtTo = new Date(“11-Feb-2007”); Now if you do alert like Alert(dtTo.getYear()); But in firefix year is displaying like 107.So to fix this issue. I have used getFullYear function like Alert(dtTo.getYear());

SelectMany operator in Linq C#

SelectMany is an important operator in Linq. It takes each element of a sequence to an IEnumerable and flattens the resulting sequences into one sequence. You can find out more information about different overload list from the below link. http://msdn.microsoft.com/en-us/library/system.linq.enumerable.selectmany.aspx In this post I am going to explain How it can be really useful when

Test Driven Development is your friend

I have seen lots developers are not seeing benefits of Test Driven development. When you do Test Driven development there are lots of benefits. So I thought it will be good idea to write a blog post about it. What is Test Driven Development: As per wikipedia Test Driven Development is Test-driven development (TDD) is

Advantages of inheritance in C#.NET,VB.NET

Following are some advantages of inheritance.1. No need to write code from scratch. You can start coding with existing classes. 2. Through inheritance you can very easily convert small system into large systems 3. You can lots of classes with the same root but have different implementations of classes. 4. Code reusablity through inheritance increased.