Propose Create an equivalent csharp of the https://gobyexample.com/ tutorial, then go back to go all again
Setup Go
Download Visual Studio Code
Hello World
//main.go
package main
import 'fmt'
func main () {
fmt.Println("Hello World")
}
//go run main.go
Type Table
C# | GO |
---|---|
bool | bool |
byte | int8,byte |
sbyte | uint8 |
char | rune |
decimal | math/big/Float |
double | float64 |
float | float32 |
int | int32 |
uint | uint32 |
long | int64 |
ulong | uint64 |
object | interface{} |
short | int16 |
ushort | uint16 |
string | string |