.NET: Add more console based getting started samples (#507)

* Add more console based getting started samples

* Simplify function calling and approavls samples and some minor renaming based on PR feedback.

* Cover streaming with comments for aprovals sample.

* Remove extra line break.

* Update getting started samples list in readme.

* Address PR comments

* Address PR comments.
This commit is contained in:
westey
2025-08-28 15:14:25 +01:00
committed by GitHub
Unverified
parent 6b22b6bbc7
commit bbea3c00f8
28 changed files with 634 additions and 900 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ internal static class SampleEnvironment
Console.ForegroundColor = ConsoleColor.Yellow;
Console.Write(key);
Console.ForegroundColor = ConsoleColor.Green;
Console.Write("'> ");
Console.Write("'. Just press enter to accept the default. > ");
Console.ForegroundColor = color;
value = Console.ReadLine();
value = string.IsNullOrWhiteSpace(value) ? null : value.Trim();