---
title: "Discussion on \"Advent of Code 2021: Day 5, Part 2\" | Hashnode"
description: "Discussion on \"Advent of Code 2021: Day 5, Part 2\". Adding the 45deg angle was a small addition to Part 1.\n       public void MarkLine(Point A, Point B)\n        {\n            if (A.X == B.X)\n            {\n                if (A.Y > B.Y)\n                {\n                    for (int i = A.Y; i >= B.Y; ..."
url: "https://hashnode.com/posts/advent-of-code-2021-day-5-part-2/61d8c0d154826227af47fa0b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Advent of Code 2021: Day 5, Part 2](https://adamsjourney.hashnode.dev/advent-of-code-2021-day-5-part-2?utm_source=hashnode&utm_medium=feed)

Adding the 45deg angle was a small addition to Part 1. public void MarkLine(Point A, Point B) { if (A.X == B.X) { if (A.Y > B.Y) { for (int i = A.Y; i >= B.Y; ...

Jan 7, 2022 · 1 min read · adamsjourney.hashnode.dev  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#coding-challenge](https://hashnode.com/tag/coding-challenge)

## Written by

[Adam C Thompson](https://hashnode.com/@acxsasx)

@acxsasx · Greater Indianapolis, IN, US

  
[View profile](https://hashnode.com/@acxsasx)

Software Developer

You must take the long way before you know the shortcuts.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
