AlexHedley / AlexHedley/dotnetbyexample
Go By Example
Open
@AlexHedley is already working on this.
Since Mar 21, 2026.
documentation
good first issue
help wanted
- Dominant language
- C#
- Stars
- 1
- Forks
- 0
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 2
Description
Discussed in https://github.com/AlexHedley/dotnetbyexample/discussions/1
Originally posted by AlexHedley May 10, 2025
Implement the following in .NET
- Hello World
- Values
- Variables
- Constants
- For
- If/Else
- Switch
- Arrays
- Slices
- Maps
- Functions
- Multiple Return Values
- Variadic Functions
- Closures
- Recursion
- Range over Built-in Types
- Pointers
- Strings and Runes
- Structs
- Methods
- Interfaces
- Enums
- Struct Embedding
- Generics
- Range over Iterators
- Errors
- Custom Errors
- Goroutines
- Channels
- Channel Buffering
- Channel Synchronization
- Channel Directions
- Select
- Timeouts
- Non-Blocking Channel Operations
- Closing Channels
- Range over Channels
- Timers
- Tickers
- Worker Pools
- WaitGroups
- Rate Limiting
- Atomic Counters
- Mutexes
- Stateful Goroutines
- Sorting
- Sorting by Functions
- Panic
- Defer
- Recover
- String Functions
- String Formatting
- Text Templates
- Regular Expressions
- JSON
- XML
- Time
- Epoch
- Time Formatting / Parsing
- Random Numbers
- Number Parsing
- URL Parsing
- SHA256 Hashes
- Base64 Encoding
- Reading Files
- Writing Files
- Line Filters
- File Paths
- Directories
- Temporary Files and Directories
- Embed Directive
- Testing and Benchmarking
- Command-Line Arguments
- Command-Line Flags
- Command-Line Subcommands
- Environment Variables
- Logging
- HTTP Client
- HTTP Server
- Context
- Spawning Processes
- Exec'ing Processes
- Signals
- Exit
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.