Skip to content

Marius Bancila's Blog

About code. Mostly on C++

  • Home
  • About me
  • Works
  • Privacy Policy

Day: February 23, 2009

Optional and Named Parameters in C# 4.0

February 25, 2009February 23, 2009 by Marius Bancila

So far, C#, unlike C++, did not support optional arguments. For instance, suppose you need a function to print log a message, that can add a new line or not after writing the message. Most of the times you want a new line, so you don’t want to specify that for most of the calls. … Read more

Categories C#, CTPs & Betas, Visual Studio Tags C++, CTP, named, optional, parameters, VS2010 Leave a comment

About me

Find me on:

Archives

February 2009
M T W T F S S
 1
2345678
9101112131415
16171819202122
232425262728  
« Dec   Mar »

Follow me on Twitter

My Tweets

Recent Posts

  • cppdashboard.dev – The aggregator of what matters in C++ right now
  • The PImpl idiom and the C++26 std::indirect type
  • Improvements to std::format in C++26
  • Multiplying matrices in C++
  • Universally Unique Lexicographically Sortable Identifiers (ULIDs)
  • Time-based Universally Unique Identifiers (UUIDs v7)
  • What is the C++ nth_element algorithm?
  • What’s new in C++26: contracts (part 3)
  • What’s new in C++26 (part 2)
  • What’s new in C++26 (part 1)

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2026 Marius Bancila's Blog • Built with GeneratePress