Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. LINQ
  4. Recursive LINQ

Recursive LINQ

Scheduled Pinned Locked Moved LINQ
csharplinqquestion
3 Posts 2 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    martin_hughes
    wrote on last edited by
    #1

    Has anyone written, know of, can recommend a good article on implementing recursion with LINQ?

    R 1 Reply Last reply
    0
    • M martin_hughes

      Has anyone written, know of, can recommend a good article on implementing recursion with LINQ?

      R Offline
      R Offline
      Roger Alsing 0
      wrote on last edited by
      #2

      In what way, what do you want to get out? also, what implementation are you talking about? Linq to Sql or Linq to Objects? (or other)

      Blog: http://www.rogeralsing.com Projects: http://www.puzzleframework.com

      M 1 Reply Last reply
      0
      • R Roger Alsing 0

        In what way, what do you want to get out? also, what implementation are you talking about? Linq to Sql or Linq to Objects? (or other)

        Blog: http://www.rogeralsing.com Projects: http://www.puzzleframework.com

        M Offline
        M Offline
        martin_hughes
        wrote on last edited by
        #3

        Well I'm tempted not to give specifics of the problem, largely because it's the theory I want to get straight in my mind, rather than just getting an answer to the current problem. However: Say I want to loop through directories and report the names of sub-directories (and sub directroies and sub directories....) is this possible with Linq? Maybe a Func can be used (although I can't see how you call the Func from within itself)?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups