https://github.com/connerkt/lab09-linq
https://github.com/connerkt/lab09-linq
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/connerkt/lab09-linq
- Owner: ConnerKT
- Created: 2023-08-03T14:23:04.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-03T16:13:30.000Z (almost 3 years ago)
- Last Synced: 2025-02-23T02:31:33.285Z (over 1 year ago)
- Language: C#
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lab 09: LINQ in Manhattan
## Problem Domain
This program is designed to read data from an external JSON file containing location information for properties in Manhattan. The program will use LINQ queries and Lambda statements to filter and process the data based on specified conditions.
## Specifications
### Input
The `data.json` file containing location information for properties in Manhattan.
### Output
The program will output answers to the following questions:
1. Output all of the neighborhoods in this data list. (Final Total: 147 neighborhoods)
2. Filter out all the neighborhoods that do not have any names. (Final Total: 143 neighborhoods)
3. Remove duplicates from the neighborhoods. (Final Total: 39 neighborhoods)
4. Rewrite the queries from above and consolidate all into one single query.
5. Rewrite at least one of these questions using the opposing method (e.g., using LINQ Query statements instead of LINQ method calls, and vice versa).
## How to Use
1. Clone or download the project from the repository.
3. Place the `data.json` file into the root folder of the solution.
4. Run the program, and it will output the answers to the questions on the console.