File tree Expand file tree Collapse file tree
templates/concept-template Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ python example/main.py
2828go run example/main.go
2929
3030# C#
31- dotnet run --project example/< module > -example.csproj
31+ dotnet run --project example/concept-template -example.csproj
3232
3333# TypeScript
3434npm run build:typescript
Original file line number Diff line number Diff line change 1+ <Project Sdk =" Microsoft.NET.Sdk" >
2+ <PropertyGroup >
3+ <OutputType >Exe</OutputType >
4+ <TargetFramework >net8.0</TargetFramework >
5+ <ImplicitUsings >disable</ImplicitUsings >
6+ <Nullable >enable</Nullable >
7+ <EnableDefaultCompileItems >false</EnableDefaultCompileItems >
8+ </PropertyGroup >
9+ <ItemGroup >
10+ <Compile Include =" main.cs" />
11+ </ItemGroup >
12+ </Project >
Original file line number Diff line number Diff line change 1+ // Module focus: Replace this line with the concept the example teaches.
2+ // Why it matters: Replace this line with the learner-facing reason the concept matters.
3+
4+ using System ;
5+
6+ class Program
7+ {
8+ static void Main ( )
9+ {
10+ // Walk through one fixed scenario so the example stays repeatable.
11+ string message = "Template example: replace this file with concept-specific content." ;
12+
13+ // Report values so learners can verify the expected outcome.
14+ Console . WriteLine ( message ) ;
15+ }
16+ }
Original file line number Diff line number Diff line change 1+ // Module focus: Replace this line with the concept the example teaches.
2+ // Why it matters: Replace this line with the learner-facing reason the concept matters.
3+
4+ package main
5+
6+ import "fmt"
7+
8+ func main () {
9+ // Walk through one fixed scenario so the example stays repeatable.
10+ message := "Template example: replace this file with concept-specific content."
11+
12+ // Report values so learners can verify the expected outcome.
13+ fmt .Println (message )
14+ }
Original file line number Diff line number Diff line change 1+ # Module focus: Replace this line with the concept the example teaches.
2+ # Why it matters: Replace this line with the learner-facing reason the concept matters.
3+
4+
5+ def main () -> None :
6+ # Walk through one fixed scenario so the example stays repeatable.
7+ message = "Template example: replace this file with concept-specific content."
8+
9+ # Report values so learners can verify the expected outcome.
10+ print (message )
11+
12+
13+ if __name__ == "__main__" :
14+ main ()
Original file line number Diff line number Diff line change 1+ // Module focus: Replace this line with the concept the example teaches.
2+ // Why it matters: Replace this line with the learner-facing reason the concept matters.
3+
4+ // Walk through one fixed scenario so the example stays repeatable.
5+ const message = "Template example: replace this file with concept-specific content." ;
6+
7+ // Report values so learners can verify the expected outcome.
8+ console . log ( message ) ;
9+
10+ export { } ;
Original file line number Diff line number Diff line change 1+ using System ;
2+
3+ class Program
4+ {
5+ static void Main ( )
6+ {
7+ Console . WriteLine ( "Exercise 01 template: implement the requested task." ) ;
8+ }
9+ }
Original file line number Diff line number Diff line change 1+ package main
2+
3+ import "fmt"
4+
5+ func main () {
6+ fmt .Println ("Exercise 01 template: implement the requested task." )
7+ }
Original file line number Diff line number Diff line change 1+ def main () -> None :
2+ print ("Exercise 01 template: implement the requested task." )
3+
4+
5+ if __name__ == "__main__" :
6+ main ()
Original file line number Diff line number Diff line change 1+ console . log ( "Exercise 01 template: implement the requested task." ) ;
2+
3+ export { } ;
You can’t perform that action at this time.
0 commit comments