TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Marco
NA
59
0
recursion
Nov 13 2009 4:58 AM
Hello,
just a question; I need to do recurion on a sort of tree but I need to use 'yield' keyword as well. But recursion it seems don't work:
public IEnumerable compute(string query, string s) {
foreach (string s in Coll) {
query = .........................;
if () yield return compute(query, s);
}
}
This is a pseudo-code of course; I wonder if womething wrong in what I'm trying to do...
thanks
Reply
Answers (
1
)
File Copy
Week Number of day, like VB Function DATEPART