您的位置:首页 > 其它

Function 1 - hello world

2015-06-24 13:23 323 查看

Function 1 - hello world

Make a simple function called greet that returns the most-famous "hello world!".

Although this has been thought as a simple exercise for beginners, other people chimed in and loved to show off how wonderfully complicated you can write "hello world!" - so go for it, create the most beautiful "hello world!"

public static class Kata
{
// Write a public static method "greet" that returns "hello world!"
public static string greet()
{
return "hello world";
}
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: