... Home Contact

Krzysztof Koźmic's blog

You're doing it wrong.


Show appreciation: My Amazon.com Wish List

Me@Twitter

    Currently reading

    Article Categories

    Archives

    Post Categories

    MyPersonal

    Syndication:

    I want that in C# 4.0

    I've been playing with Boo recently and I find it to be very powerful language. One little thing I like particularly is, that I can do this:
    name = "Krzysztof"
    print "Hello, ${name}, on the beautiful day of ${date.Today}"
    And get this:
    boo
    Can I please have this in C# 4.0?
    Technorati Tags: , ,

    Feedback

    Gravatar

    # re: I want that in C# 4.0
    Omer Rauchwerger | 3/29/2008 8:35 AM

    Yeah, I really enjoy this feature in Boo. It's really useful in Brail views.

    Check out james.newtonking.com/.../...h-named-variables.aspx
    might be good enough for now.

    Cheers.
    Gravatar

    # re: I want that in C# 4.0
    Doug | 6/8/2009 3:14 AM

    Been meaning to play with Boo.
    PowerShell does the following

    $name = "Krzysztof"
    "Hello, $name, on the beautiful day of $(Get-Date)"

    Leave Your Comment

    Title*
    Name*
    Email (never displayed)
     (will show your gravatar)
    Url
    Comment*

    Please add 6 and 4 and type the answer here:

    Preview Your Comment.