|
You are here |
blog.submain.com | ||
| | | | |
connorberry.com
|
|
| | | | | Language Comparison Perl: while (<>) { print "$. : $_" } Perl: while (<>) { print "$. : $_" } CSharp: using System; using System.IO; class App { public static void Main(string[] args) { int line_number = 1; foreach (string arg in args) { foreach (string line in File.ReadLines(arg)) { Console.WriteLine(line_number + ":" + line);... | |
| | | | |
brendanbondurant.com
|
|
| | | | | Continuing with this idea of learning C#, I am going to look at how each language handles a simple class. I'll just make a class Person with a few properties/attributes and a method to describe the person. As usual, I'll start it out in Ruby. One thing that has stuck with me from a great... | |
| | | | |
newdevsguide.com
|
|
| | | | | The C# 11 required keyword lets you reduce constructor boiler plate code and ensure that new objects have required property members set when using inline initializers. | |
| | | | |
zignar.net
|
|
| | | Personal weblog about programming, linux, life, the universe and everything | ||