From 396e9a73d7244f6de51b3e8799ce2edff3a72e1e Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Thu, 2 Jan 2020 08:07:00 +0100 Subject: [PATCH 1/2] csharp: add debug.md files --- .../bitwise-operations/.docs/debug.md | 10 ++++++++++ .../csharp/concept-exercises/dates/.docs/debug.md | 10 ++++++++++ .../csharp/concept-exercises/enums/.docs/debug.md | 10 ++++++++++ .../numbers-floating-point/.docs/debug.md | 10 ++++++++++ .../csharp/concept-exercises/numbers/.docs/debug.md | 10 ++++++++++ .../csharp/concept-exercises/strings/.docs/debug.md | 10 ++++++++++ 6 files changed, 60 insertions(+) create mode 100644 languages/csharp/concept-exercises/bitwise-operations/.docs/debug.md create mode 100644 languages/csharp/concept-exercises/dates/.docs/debug.md create mode 100644 languages/csharp/concept-exercises/enums/.docs/debug.md create mode 100644 languages/csharp/concept-exercises/numbers-floating-point/.docs/debug.md create mode 100644 languages/csharp/concept-exercises/numbers/.docs/debug.md create mode 100644 languages/csharp/concept-exercises/strings/.docs/debug.md diff --git a/languages/csharp/concept-exercises/bitwise-operations/.docs/debug.md b/languages/csharp/concept-exercises/bitwise-operations/.docs/debug.md new file mode 100644 index 0000000000..8be437efc1 --- /dev/null +++ b/languages/csharp/concept-exercises/bitwise-operations/.docs/debug.md @@ -0,0 +1,10 @@ +# Debug + +When a test fails, a message is displayed describing what went wrong and for which input. You can also use the fact that any [console output][programiz.com-basic-input-output] will be shown too. You can write to the console using: + +```csharp +Console.WriteLine("Debug message"); +``` + +[docs-string]: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/strings/ +[programiz.com-basic-input-output]: https://www.programiz.com/csharp-programming/basic-input-output diff --git a/languages/csharp/concept-exercises/dates/.docs/debug.md b/languages/csharp/concept-exercises/dates/.docs/debug.md new file mode 100644 index 0000000000..8be437efc1 --- /dev/null +++ b/languages/csharp/concept-exercises/dates/.docs/debug.md @@ -0,0 +1,10 @@ +# Debug + +When a test fails, a message is displayed describing what went wrong and for which input. You can also use the fact that any [console output][programiz.com-basic-input-output] will be shown too. You can write to the console using: + +```csharp +Console.WriteLine("Debug message"); +``` + +[docs-string]: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/strings/ +[programiz.com-basic-input-output]: https://www.programiz.com/csharp-programming/basic-input-output diff --git a/languages/csharp/concept-exercises/enums/.docs/debug.md b/languages/csharp/concept-exercises/enums/.docs/debug.md new file mode 100644 index 0000000000..8be437efc1 --- /dev/null +++ b/languages/csharp/concept-exercises/enums/.docs/debug.md @@ -0,0 +1,10 @@ +# Debug + +When a test fails, a message is displayed describing what went wrong and for which input. You can also use the fact that any [console output][programiz.com-basic-input-output] will be shown too. You can write to the console using: + +```csharp +Console.WriteLine("Debug message"); +``` + +[docs-string]: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/strings/ +[programiz.com-basic-input-output]: https://www.programiz.com/csharp-programming/basic-input-output diff --git a/languages/csharp/concept-exercises/numbers-floating-point/.docs/debug.md b/languages/csharp/concept-exercises/numbers-floating-point/.docs/debug.md new file mode 100644 index 0000000000..8be437efc1 --- /dev/null +++ b/languages/csharp/concept-exercises/numbers-floating-point/.docs/debug.md @@ -0,0 +1,10 @@ +# Debug + +When a test fails, a message is displayed describing what went wrong and for which input. You can also use the fact that any [console output][programiz.com-basic-input-output] will be shown too. You can write to the console using: + +```csharp +Console.WriteLine("Debug message"); +``` + +[docs-string]: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/strings/ +[programiz.com-basic-input-output]: https://www.programiz.com/csharp-programming/basic-input-output diff --git a/languages/csharp/concept-exercises/numbers/.docs/debug.md b/languages/csharp/concept-exercises/numbers/.docs/debug.md new file mode 100644 index 0000000000..8be437efc1 --- /dev/null +++ b/languages/csharp/concept-exercises/numbers/.docs/debug.md @@ -0,0 +1,10 @@ +# Debug + +When a test fails, a message is displayed describing what went wrong and for which input. You can also use the fact that any [console output][programiz.com-basic-input-output] will be shown too. You can write to the console using: + +```csharp +Console.WriteLine("Debug message"); +``` + +[docs-string]: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/strings/ +[programiz.com-basic-input-output]: https://www.programiz.com/csharp-programming/basic-input-output diff --git a/languages/csharp/concept-exercises/strings/.docs/debug.md b/languages/csharp/concept-exercises/strings/.docs/debug.md new file mode 100644 index 0000000000..8be437efc1 --- /dev/null +++ b/languages/csharp/concept-exercises/strings/.docs/debug.md @@ -0,0 +1,10 @@ +# Debug + +When a test fails, a message is displayed describing what went wrong and for which input. You can also use the fact that any [console output][programiz.com-basic-input-output] will be shown too. You can write to the console using: + +```csharp +Console.WriteLine("Debug message"); +``` + +[docs-string]: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/strings/ +[programiz.com-basic-input-output]: https://www.programiz.com/csharp-programming/basic-input-output From 009f0f49ca7f6f292cacc2f914da6c9793e3368e Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Thu, 2 Jan 2020 08:11:45 +0100 Subject: [PATCH 2/2] docs: add debug.md file description --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index fb007005bd..83ccca78e4 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,12 @@ Once the user completes the exercise they will be shown this file, which gives t See the C# floating-point-numbers exercise's [after.md file](./languages/csharp/concept-exercises/numbers-floating-point/.docs/after.md) for an example. +#### `.docs/debug.md` + +This file explains how a user that is coding in the browser can still do "debugging." + +See the C# floating-point-numbers exercise's [debug.md file](./languages/csharp/concept-exercises/numbers-floating-point/.docs/debug.md) for an example. + ## Repository structure Things are grouped into several subdirectories: