Skip to content

Commit 93a53b4

Browse files
Format documentation files
1 parent bfc3151 commit 93a53b4

34 files changed

Lines changed: 64 additions & 34 deletions

File tree

docs/LEARNING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* [PluralSight](https://www.pluralsight.com/) has several [great](https://www.pluralsight.com/courses/csharp-6-from-scratch) [introduction](https://www.pluralsight.com/courses/c-sharp-fundamentals-with-visual-studio-2015) [courses](http://www.pluralsight.com/courses/csharp-best-practices-improving-basics). The downside: PluralSight is a paid service, but you can request a [free trial](https://www.pluralsight.com/pricing).
1515

1616
## Books
17+
1718
* [C# 6.0 in a Nutshell](https://www.amazon.com/C-6-0-Nutshell-Definitive-Reference/dp/1491927062/)
1819
* [C# 5.0 Unleashed](https://www.amazon.com/C-5-0-Unleashed-Bart-Smet/dp/0672336901/)
1920
* [C# in Depth](https://www.amazon.com/dp/161729134X/)

exercises/practice/accumulate/.docs/instructions.append.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ To be more specific, you are not allowed to use any of the built-in [LINQ method
66

77
Since `accumulate` returns an `IEnumerable`, it's execution is deferred until `ToList()` it is called on it, which is tested with the `Accumulate_is_lazy` method
88

9-
## Hints
10-
This exercise requires you to write an extension method. For more information, see [this page](https://msdn.microsoft.com/en-us//library/bb383977.aspx).
9+
## Hints
10+
11+
This exercise requires you to write an extension method. For more information, see [this page](https://msdn.microsoft.com/en-us//library/bb383977.aspx).
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Hints
2-
This exercise requires you to use bitwise operations. For more information, see [this page](https://msdn.microsoft.com/en-us/library/6a71f45d.aspx).
2+
3+
This exercise requires you to use bitwise operations. For more information, see [this page](https://msdn.microsoft.com/en-us/library/6a71f45d.aspx).
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Hints
2+
23
- To parse the text, you could try to use the [Sprache](https://github.com/sprache/Sprache/blob/develop/README.md) library. You can also find a good tutorial [here](https://www.thomaslevesque.com/2017/02/23/easy-text-parsing-in-c-with-sprache/).
34
- You can solve this exercise with a brute force algorithm, but this will possibly have a poor runtime performance.
4-
Try to find a more sophisticated solution.
5+
Try to find a more sophisticated solution.
56
- Hint: You could try the column-wise addition algorithm that is usually taught in school.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Hints
2-
This exercise requires you to handle data related to currency and money. A normal approuch is to use the [Decimal](https://msdn.microsoft.com/en-US/library/system.decimal.aspx) struct to store currency values.
3-
Note though that you then only store the numeric value of a currency.
2+
3+
This exercise requires you to handle data related to currency and money. A normal approuch is to use the [Decimal](https://msdn.microsoft.com/en-US/library/system.decimal.aspx) struct to store currency values.
4+
Note though that you then only store the numeric value of a currency.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Hints
2-
- Try to capture the structure of the song in your code, where you build up the song by composing its parts.
2+
3+
- Try to capture the structure of the song in your code, where you build up the song by composing its parts.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Hints
2+
23
This exercise requires you to implement a type-specific method for determining equality of instances.
34
For more information, see [this page](https://docs.microsoft.com/en-us/dotnet/api/System.IEquatable-1?view=netcore-2.1).
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Hints
2-
The tests in this exercise are different from your usual tests. Normally, a test checks if for a given input, the output matches the expected value. This is called *value-based testing*. However, this exercise uses *property-based testing*, where the tests check if for a range of inputs, the output has a specific property. The two key differences that differentiate property-based testing from value-based testing are:
2+
3+
The tests in this exercise are different from your usual tests. Normally, a test checks if for a given input, the output matches the expected value. This is called _value-based testing_. However, this exercise uses _property-based testing_, where the tests check if for a range of inputs, the output has a specific property. The two key differences that differentiate property-based testing from value-based testing are:
34

45
1. A property-based test works not with a single input value, but with many.
56
1. A property-based test verifies properties, not concrete values.
@@ -8,4 +9,4 @@ For this exercise, the tests all verify a property of the diamond shape your cod
89

910
In order to facilitate propery-based testing, the tests in this exercise leverage the [FsCheck](https://www.nuget.org/packages/FsCheck) and [FsCheck.Xunit](https://packages.nuget.org/packages/FsCheck.Xunit/2.2.0) packages. To learn more about FsCheck, the documentation on the framework can be found [here](https://fscheck.github.io/FsCheck/).
1011

11-
If you would like more information on property-based testing, see [this article](http://www.erikschierboom.com/2016/02/22/property-based-testing/).
12+
If you would like more information on property-based testing, see [this article](http://www.erikschierboom.com/2016/02/22/property-based-testing/).
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Hints
2+
23
This exercise requires you to process a collection of data. You can simplify your code by using LINQ (Language Integrated Query).
34
For more information, see [this page]
4-
(https://docs.microsoft.com/en-us/dotnet/articles/standard/using-linq).
5+
(https://docs.microsoft.com/en-us/dotnet/articles/standard/using-linq).
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Hints
2+
23
This exercise requires you to perform calculations on large numbers. To correctly represent large numbers, the
3-
[BigInteger](https://msdn.microsoft.com/en-us/library/system.numerics.biginteger(v=vs.110).aspx) struct is used.
4+
[BigInteger](<https://msdn.microsoft.com/en-us/library/system.numerics.biginteger(v=vs.110).aspx>) struct is used.

0 commit comments

Comments
 (0)