Loading ...

Who is online?  0 guests and 0 members
home  »  blogs  »  Vijendra Shakya: September 2010

Communifire Blogs

Vijendra Shakya :September 2010 postings

Vijendra Shakya

C#: Find all "DayOfWeek" in a year

9/19/2010 by Vijendra Shakya · 0 · 2689

Here I have discussed about how to get all the dates of any Dayofweek in a year. Below is the stpes to caluclate all Dayofweek in a year. 1. Initialize a Collection for adding all Sundays in that. Collection<DateTime> listOfSundays = new Collection<DateTime>() 2. For that first we get the start date of the year as follows: DateTime startDate = new DateTime(year, 1, 1); 3. Now...

Vijendra Shakya

C#: Find Fibonacci Series

9/5/2010 by Vijendra Shakya · 1 · 5971

What is Fibonacci series? Sequence is set of objects (numbers) which are in Orders. Fibonacci series is a sequence of list of numbers which is invented by Leonardo Fibonacci (fi-bo-na-chee) in 1202; on the name of Leonardo Fibonacci it is named “Fibonacci series”. Fibonacci series are: 0,1,1,2,3,5,8,13,21,34,55……… In Fibonacci series first two numbers are 0 and 1 after that each subseque...

Page 1 of 1 (2 items)

Product Spotlight

ASP.NET Hosting Spotlight

Join CodeAsp.Net for FREE Today!

It's fast, easy and free! Submit articles, get your own blog, ask questions & give answers in the forums, and become a better developer, faster.

enter your email address:

 

Quick Vote

What kind of email newsletter would you prefer to receive from CodeAsp.Net?