Author: admin

  • Blog
  • Author: admin

Some of the important shortcuts for Visual Studio Code

Visual studio code is a Great editor for the web development. I have started using it and I’m loving it more and more. For any editor shortcut keys are important you can do lots more without moving to mouse with a shortcut. In this blog post, we are going to learn about shortcuts for Visual

What is diffrenece between string.compare and string.compareordinal

String.Compare can be or not be case-sensitive, and can incorporate anynumber of comparison options, including culture-sensitivity and sortingrules. That is, it is not comparing the exact strings necessarily, but canbe configured to do various sorts of comparisons. String.CompareOrdinalcompares the numeric values of the individual Unicode characters of thestrings. In other words, it is always case-sensitive,

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