This short post will kick off a series covering some of the new features in C#.
One small but much requested feature is the ability to use any kind of collection for params. Previously you had to pass in an array:
public void MyMethod(int firstParam, params string[] otherParams)
{
foreach (var param in otherParams)
{
Console.WriteLine(param);
}
}
But now you can pass in any kind of collection,
public void MyMethod(int firstParam, params List<string> otherParams)
{
foreach (var param in otherParams)
{
Console.WriteLine(param);
}
}
This can save a great deal of fussing, converting your collection to an array and back.
Please note that this is a preview feature. Fortunately, Intellisense will convert your project for you. When you put this in you’ll get the dreaded red squiggly. Click on the light bulb and let it convert your project. Hey! Presto! it works.
We’ll look at a few bigger features in coming blog posts.

As a Newbie, I am continuously exploring online for articles that can benefit me. Thank you
Today, I went to the beach with my children. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone!
I’ve been absent for a while, but now I remember why I used to love this web site. Thanks , I¦ll try and check back more frequently. How frequently you update your website?
Fantastic blog you have here but I was wondering if you knew of any community forums that cover the same topics talked about in this article? I’d really love to be a part of online community where I can get opinions from other knowledgeable people that share the same interest. If you have any suggestions, please let me know. Thank you!
Some genuinely nice and useful information on this internet site, besides I believe the style and design has superb features.
The Pink Salt Trick is a minimalist but effective morning routine: Just drink a glass of lukewarm water mixed with a pinch of Himalayan pink salt as soo
I definitely wanted to make a simple message so as to express gratitude to you for the marvelous information you are posting at this site. My prolonged internet lookup has at the end of the day been rewarded with pleasant suggestions to write about with my neighbours. I would say that we website visitors are really fortunate to be in a perfect network with so many lovely people with helpful techniques. I feel truly fortunate to have used the webpages and look forward to so many more amazing moments reading here. Thanks a lot again for everything.
The Pink Salt Trick is a minimalist but effective morning routine: Just drink a glass of lukewarm water mixed with a pinch of Himalayan pink salt as soo
I conceive you have observed some very interesting points, thanks for the post.
you’re really a good webmaster. The site loading speed is incredible. It seems that you are doing any unique trick. Also, The contents are masterpiece. you’ve done a fantastic job on this topic!
The Pink Salt Trick is a minimalist but effective morning routine: Just drink a glass of lukewarm water mixed with a pinch of Himalayan pink salt as soo
Just desire to say your article is as surprising. The clarity in your post is simply nice and i can assume you’re an expert on this subject. Well with your permission allow me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please carry on the gratifying work.
The Pink Salt Trick is a minimalist but effective morning routine: Just drink a glass of lukewarm water mixed with a pinch of Himalayan pink salt as soo
I carry on listening to the newscast speak about receiving boundless online grant applications so I have been looking around for the finest site to get one. Could you advise me please, where could i acquire some?
I’m extremely inspired along with your writing talents and also with the layout in your weblog. Is that this a paid subject or did you customize it yourself? Anyway keep up the excellent quality writing, it is uncommon to peer a great blog like this one these days..
Hello! I just would like to give a huge thumbs up for the great info you have here on this post. I will be coming back to your blog for more soon.
I like what you guys are up also. Such clever work and reporting! Carry on the superb works guys I¦ve incorporated you guys to my blogroll. I think it will improve the value of my website 🙂
Wow, wonderful weblog layout! How lengthy have you been running a blog for? you make running a blog look easy. The total glance of your web site is magnificent, let alone the content!
Rattling nice design and style and good content material, very little else we require : D.
I intended to put you that little note in order to thank you very much over again for the awesome strategies you have discussed on this website. It is quite particularly generous of you to present unreservedly just what a number of people might have supplied for an e-book to earn some money on their own, most importantly considering the fact that you could have tried it in the event you decided. The pointers additionally worked to be a great way to understand that other people have a similar passion much like my personal own to know the truth many more with regards to this condition. I know there are several more pleasurable times in the future for people who see your website.
F*ckin’ tremendous things here. I’m very glad to see your article. Thanks a lot and i am looking forward to contact you. Will you please drop me a e-mail?
I truly enjoy looking at on this web site, it has good blog posts. “Never fight an inanimate object.” by P. J. O’Rourke.
Pretty! This was a really wonderful post. Thank you for your provided information.
What i don’t realize is if truth be told how you are now not really much more smartly-favored than you might be right now. You are so intelligent. You understand thus considerably in the case of this matter, produced me for my part imagine it from a lot of numerous angles. Its like women and men are not involved until it¦s something to do with Woman gaga! Your personal stuffs outstanding. At all times deal with it up!
Enjoyed studying this, very good stuff, thanks. “A man does not die of love or his liver or even of old age he dies of being a man.” by Percival Arland Ussher.
Oh my goodness! an amazing article dude. Thanks Nevertheless I’m experiencing situation with ur rss . Don’t know why Unable to subscribe to it. Is there anybody getting similar rss problem? Anybody who knows kindly respond. Thnkx
I have not checked in here for a while since I thought it was getting boring, but the last few posts are great quality so I guess I will add you back to my daily bloglist. You deserve it my friend 🙂
I?¦ve been exploring for a bit for any high quality articles or blog posts on this kind of space . Exploring in Yahoo I eventually stumbled upon this site. Reading this information So i?¦m happy to exhibit that I’ve an incredibly excellent uncanny feeling I came upon exactly what I needed. I such a lot indubitably will make certain to do not overlook this site and provides it a glance on a continuing basis.
This really answered my problem, thank you!
hello there and thank you in your information – I’ve definitely picked up anything new from proper here. I did however expertise some technical points the usage of this site, since I skilled to reload the website a lot of occasions prior to I could get it to load properly. I were brooding about if your web hosting is OK? Not that I am complaining, but sluggish loading instances times will often affect your placement in google and could harm your quality rating if advertising and ***********|advertising|advertising|advertising and *********** with Adwords. Well I am adding this RSS to my e-mail and can glance out for much more of your respective fascinating content. Ensure that you replace this again very soon..
20209 835494As I site possessor I believe the content material matter here is rattling wonderful , appreciate it for your efforts. You should keep it up forever! Finest of luck. 16588
356451 173133You ought to join in a contest for starters with the highest quality blogs online. I will recommend this page! 266913
You have observed very interesting points! ps decent web site. “Mediocrity knows nothing higher than itself, but talent instantly recognizes genius.” by Conan Doyle.
I love it when people come together and share opinions, great blog, keep it up.
I haven¦t checked in here for some time because I thought it was getting boring, but the last several posts are great quality so I guess I¦ll add you back to my everyday bloglist. You deserve it my friend 🙂
What¦s Happening i’m new to this, I stumbled upon this I’ve discovered It absolutely useful and it has helped me out loads. I’m hoping to contribute & aid different customers like its aided me. Good job.
Spot on with this write-up, I really assume this web site needs far more consideration. I’ll probably be once more to learn far more, thanks for that info.
Very interesting info !Perfect just what I was looking for! “Better and ugly face than an ugly mind.” by James.
689741 386185You can definitely see your skills within the work you write. 723108
911618 99194Its like you read my mind! You appear to know so a lot about this, like you wrote the book in it or something. I believe which you can do with some pics to drive the message home a bit, but instead of that, this really is great blog. A great read. Ill surely be back. 341513
It’s really a great and useful piece of info. I’m glad that you shared this useful information with us. Please keep us informed like this. Thank you for sharing.
Este site é realmente fantástico. Sempre que acesso eu encontro novidades Você também vai querer acessar o nosso site e saber mais detalhes! Conteúdo exclusivo. Venha descobrir mais agora! 🙂
907017 121047Thanks for helping out, superb information . 79502
Fantastic site. Lots of useful information here. I’m sending it to several friends ans also sharing in delicious. And obviously, thanks for your sweat!
Great site. Lots of helpful info here. I?¦m sending it to some buddies ans also sharing in delicious. And obviously, thanks to your sweat!
F*ckin’ remarkable things here. I’m very happy to look your article. Thank you a lot and i am looking forward to contact you. Will you kindly drop me a mail?
Wow! This could be one particular of the most beneficial blogs We’ve ever arrive across on this subject. Actually Great. I am also an expert in this topic so I can understand your effort.
https://www.youtube.com/channel/UCyt2dGrKTf9KpBk1jdUl3oA
https://www.youtube.com/channel/UCyt2dGrKTf9KpBk1jdUl3oA
https://www.youtube.com/channel/UCyt2dGrKTf9KpBk1jdUl3oA