I don't frequently write phyton, nor am an expert on it. But I had a crush on Phyton's 'range' function and was looking for a subtitute on C#, especially after all these new functional programming elements.
Apparently, there was one identical implementation: Enumerable.Range! It's come with C# 3.0.
See: http://stackoverflow.com/questions/1271378/is-there-an-equivalent-of-pythons-range12-in-c
Wednesday, 16 June 2010
Subscribe to:
Post Comments (Atom)
23 comments:
I guess I will need a lot.................................................................
nice to know you, and glad to find such a good artical!......................................................................
良言一句三冬暖,惡語傷人六月寒。....................................................................
閒來無聊逛逛blog~~跟您打聲招呼~~.................................................................
幸福不是一切,人還有責任。............................................................
閱讀您的BLOG文章,真是件快樂的事!..................................................................
人生的苦惱,不在擁有太少,而在奢望太多。..................................................
沒有經過反省的人生,是不值得活的人生..................................................
嗨~~留個言跟您問好!!謝謝您的分享............................................................
永遠不要躊躇伸出你的手。也永遠不要躊躇接受別人伸出的手。.................................................................
獲益不少,謝謝分享!............................................................
與人相處不妨多用眼睛說話,多用嘴巴思考. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
很喜歡你的blog哦...加油唷 ............................................................
留言支持好作品~加油!期待進步和更新............................................................
Knowledge is power................................................
Seeing is believing.百聞不如一見............................................................
教育無他,愛與榜樣而已............................................................
先將一個人的生活過好,才有能力過好兩個人的生活................................................
到處逛逛~~來繞繞留個言囉~~~~............................................................
看到大家都留言-我也忍不住說聲---加油..................................................
路過留言支持~~~............................................................
生存乃是不斷地在內心與靈魂交戰;寫作是坐著審判自己。..................................................
看到好文章心情就很好 ^^............................................................
Post a Comment