-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating tutorials for C# Dev KIt (#41440)
- Loading branch information
Showing
10 changed files
with
154 additions
and
552 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
356 changes: 58 additions & 298 deletions
356
docs/core/tutorials/library-with-visual-studio-code.md
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+353 KB
...core/tutorials/media/debugging-with-visual-studio-code/select-debug-console.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-12.7 KB
(35%)
docs/core/tutorials/media/debugging-with-visual-studio-code/start-debugging.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+151 KB
docs/core/tutorials/media/testing-library-with-visual-studio-code/FailedTest.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+55 KB
...e/tutorials/media/testing-library-with-visual-studio-code/TestingScreenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
docs/core/tutorials/snippets/with-visual-studio/csharp/Program-Read.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
//Variant of Program.cs that reads input from the debug console instead of the terminal | ||
#if READ | ||
// <MainMethod> | ||
Console.WriteLine("What is your name?"); | ||
var name = Console.ReadLine(); | ||
var currentDate = DateTime.Now; | ||
Console.WriteLine($"{Environment.NewLine}Hello, {name}, on {currentDate:d} at {currentDate:t}!"); | ||
Console.Write($"{Environment.NewLine}Press Enter to exit..."); | ||
Console.Read(); | ||
// </MainMethod> | ||
#endif |
175 changes: 40 additions & 135 deletions
175
docs/core/tutorials/testing-library-with-visual-studio-code.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters