Skip to content

refactor: improve C# SDK examples structure#184

Merged
aenadgrleey merged 1 commit intomainfrom
csharp-examples-refactor
Mar 27, 2026
Merged

refactor: improve C# SDK examples structure#184
aenadgrleey merged 1 commit intomainfrom
csharp-examples-refactor

Conversation

@aenadgrleey
Copy link
Copy Markdown
Contributor

Summary

  • Refactor examples to use classes instead of top-level statements
  • Add Program.cs entry point with command routing (dotnet run -- main / dotnet run -- upload)
  • Fix type cast for thread.Id (long to int)
  • Fix System.IO namespace conflicts in Upload example
  • Add bin/, obj/ to gitignore

Test plan

  • Tested dotnet run -- main - all 8 steps pass
  • Tested dotnet run -- upload - file upload works

🤖 Generated with Claude Code

- Refactor examples to use classes instead of top-level statements
- Add Program.cs entry point with command routing (main/upload)
- Fix type cast for thread.Id (long to int)
- Fix System.IO namespace conflicts in Upload example
- Add bin/, obj/ to gitignore

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@aenadgrleey aenadgrleey merged commit 9afa2fc into main Mar 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant