Ad

Hello World in Rust

Code
Diff
  • fn main() {
        let name = "Rust";
        println!("Hello, {}!", name);
    }
    • System.Console.WriteLine("Hello, C#!");
    • fn main() {
    • let name = "Rust";
    • println!("Hello, {}!", name);
    • }