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.






































Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.
This discussion feels thoughtful and easy to connect with since the topic is explained clearly while still leaving room for different viewpoints and opinions.
https://dollyolive.co.uk/
Great work! That is the type of info that are meant to be shared across the internet. Disgrace on the search engines for no longer positioning this publish higher! Come on over and seek advice from my website . Thank you =)
Hello there, You’ve performed a great job. I’ll definitely digg it and in my opinion recommend to my friends. I’m confident they will be benefited from this website.
At this time it appears like BlogEngine is the top blogging platform available right now. (from what I’ve read) Is that what you’re using on your blog?
Someone essentially lend a hand to make critically posts I would state. That is the first time I frequented your web page and thus far? I surprised with the analysis you made to create this actual post amazing. Great task!
May I just say what a comfort to discover a person that really knows what they’re discussing over the internet. You certainly know how to bring a problem to light and make it important. More people really need to check this out and understand this side of your story. I was surprised that you are not more popular since you surely possess the gift.
Currently it looks like WordPress is the preferred blogging platform out there right now. (from what I’ve read) Is that what you’re using on your blog?
Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my blog that automatically tweet my newest twitter updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.
Aw, this was an exceptionally good post. Taking a few minutes and actual effort to produce a superb article… but what can I say… I hesitate a lot and don’t manage to get anything done.
Hello there I am so excited I found your site, I really found you by error, while I was researching on Digg for something else, Regardless I am here now and would just like to say kudos for a fantastic post and a all round enjoyable blog (I also love the theme/design), I don’t have time to read through it all at the moment but I have book-marked it and also included your RSS feeds, so when I have time I will be back to read much more, Please do keep up the fantastic job.
May I simply say what a relief to find somebody that really understands what they’re talking about on the web. You certainly realize how to bring an issue to light and make it important. More people need to check this out and understand this side of the story. I was surprised you aren’t more popular since you most certainly possess the gift.
Currently it seems like Expression Engine is the best blogging platform available right now. (from what I’ve read) Is that what you’re using on your blog?
Can I just say what a comfort to find somebody that truly understands what they’re talking about over the internet. You certainly realize how to bring a problem to light and make it important. More people have to check this out and understand this side of the story. I can’t believe you are not more popular because you most certainly possess the gift.
At this time it appears like WordPress is the top blogging platform available right now. (from what I’ve read) Is that what you’re using on your blog?
Hello there! This post could not be written any better! Reading through this post reminds me of my good old room mate! He always kept chatting about this. I will forward this page to him. Pretty sure he will have a good read. Thanks for sharing!
Having read this I thought it was very informative. I appreciate you taking the time and effort to put this article together. I once again find myself spending way to much time both reading and commenting. But so what, it was still worth it!
Greate post. Keep posting such kind of info on your blog. Im really impressed by your site.
Real excellent visual appeal on this web site, I’d rate it 10 10.
Thank you for every other informative web site. The place else may I get that kind of information written in such an ideal approach? I’ve a project that I’m simply now operating on, and I’ve been at the look out for such information.
Some times its a pain in the ass to read what website owners wrote but this website is really user pleasant! .
Hey there would you mind letting me know which web host you’re working with? I’ve loaded your blog in 3 completely different web browsers and I must say this blog loads a lot faster then most. Can you recommend a good hosting provider at a reasonable price? Kudos, I appreciate it!
Very interesting subject, thanks for putting up. “Not by age but by capacity is wisdom acquired.” by Titus Maccius Plautus.
Can I simply just say what a relief to discover someone that truly understands what they’re discussing on the net. You definitely know how to bring an issue to light and make it important. More people really need to read this and understand this side of your story. I was surprised that you aren’t more popular since you most certainly possess the gift.
Hello there, You’ve done a fantastic job. I’ll certainly digg it and for my part suggest to my friends. I’m confident they’ll be benefited from this web site.
fantastic points altogether, you just gained a new reader. What would you recommend about your post that you made some days ago? Any positive?
Wow that was odd. I just wrote an really long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Anyhow, just wanted to say great blog!
Excellent post. Keep posting such kind of info on your site. Im really impressed by your blog.
Excellent article. Keep writing such kind of information on your site. Im really impressed by your blog.
Hi, i think that i saw you visited my site thus i came to “return the favor”.I am attempting to find things to improve my site!I suppose its ok to use a few of your ideas!!
Very good visual appeal on this internet site, I’d rate it 10 10.
Woah! I’m really enjoying the template/theme of this website. It’s simple, yet effective. A lot of times it’s tough to get that “perfect balance” between superb usability and visual appearance. I must say that you’ve done a amazing job with this. In addition, the blog loads extremely quick for me on Chrome. Excellent Blog!
Great post and right to the point. I am not sure if this is really the best place to ask but do you guys have any ideea where to hire some professional writers? Thank you 🙂
Hi there very cool web site!! Man .. Beautiful .. Superb .. I will bookmark your site and take the feeds also…I’m glad to search out numerous useful information right here within the publish, we need develop more strategies in this regard, thank you for sharing.
Excellent pieces. Keep writing such kind of information on your site. Im really impressed by your site.
Aw, this was a really nice post. Finding the time and actual effort to make a superb article… but what can I say… I put things off a lot and don’t manage to get anything done.
Great amazing things here. I am very happy to look your article. Thanks so much and i am having a look ahead to contact you. Will you please drop me a e-mail?
I’ve been absent for some time, but now I remember why I used to love this blog. Thank you, I will try and check back more often. How frequently you update your website?
I loved as much as you will receive carried out right here. The sketch is tasteful, your authored subject matter stylish. nonetheless, you command get bought an impatience over that you wish be delivering the following. unwell unquestionably come more formerly again as exactly the same nearly a lot often inside case you shield this increase.
I delight in, cause I found exactly what I used to be looking for. You have ended my 4 day lengthy hunt! God Bless you man. Have a nice day. Bye
Excellent pieces. Keep writing such kind of information on your page. Im really impressed by your site.
Right now it looks like Expression Engine is the preferred blogging platform available right now. (from what I’ve read) Is that what you’re using on your blog?
Currently it looks like Movable Type is the top blogging platform out there right now. (from what I’ve read) Is that what you’re using on your blog?
Aw, this was an incredibly nice post. Finding the time and actual effort to produce a great article… but what can I say… I put things off a whole lot and don’t seem to get anything done.
Wow that was strange. I just wrote an extremely long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Regardless, just wanted to say fantastic blog!
I am continuously browsing online for ideas that can aid me. Thanks!
At this time it seems like Movable Type is the top blogging platform available right now. (from what I’ve read) Is that what you’re using on your blog?
Greate post. Keep posting such kind of information on your page. Im really impressed by it.
Right now it looks like WordPress is the preferred blogging platform out there right now. (from what I’ve read) Is that what you are using on your blog?
Right now it seems like WordPress is the preferred blogging platform available right now. (from what I’ve read) Is that what you are using on your blog?