What you're looking at is an expression-bodied member not a lambda expression. When the compiler encounters an expression-bodied property member, it essentially converts it to a getter like this: Use the parse_url () and parse_str () methods.

Since you only want a single part of the url, you can use a shortcut to return a … I want to get list of files (actually number of files) in a path, recursively, excluding certain types: Here the get method finds a key entry for 'e' and finds its value which is 1. We add this to the other 1 in characters. get (character, 0) + 1 and get 2 as result.