C# 3.5 Conversion Extension Method Library 1.0 (www.j-dee.com)

published 2 years, 4 months ago, submitted by jdeejdee(270) 2 years, 4 months ago

This free downloadable library makes use of the new Extension Method language feature in C# 3.5 to add some cool conversion functions to the basic datatypes. So now, you can do more than just .ToString()...you can do .ToDecimal or .ToInt32 etc. etc. Also includes .Left() and .Right() string manipulations that VB has but C# doesn't !!!!

7 comments | category: | Views: 238

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:

posted by jamesewelchjamesewelch(2265) 2 years, 4 months ago

I've never understood why everyone thinks C# doesn't have Left and Right string manipulations. If you want them, just add the reference to Microsoft.VisualBasic namespace/library. That namespace is part of the .NET framework (so its on everyone's computer that has the framework), just not automatically referenced like VB projects.

posted by w3stfa11w3stfa11(625) 2 years, 4 months ago

You mean C# 3.0, right? There is no C# 3.5.

posted by jamesewelchjamesewelch(2265) 2 years, 4 months ago

I've seen a lot of people label the the next release of the C# language as 3.5.

For a while, (even myself) labeled the WCF, WPF, etc. as .NET 3.0 and 3.5 as the language updates. Since .NET 3.0 (WCF, WPF) is already here, 3.5 was going to be the language updates along with VS 2008.

I think .NET Framework v3.5 will have C# 3.0, because the .NET Framework v3.0 has C# 2.0 and WCF/WPF.

posted by gavinjoycegavinjoyce(25.7k) 2 years, 4 months ago

They made a mess of the versioning, that's clear..

posted by jdeejdee(270) 2 years, 4 months ago

Does anyone know definitively if it's 3.0 or 3.5 so I can update the article. I've seen WPF,WCF and WF labelled as 3.0, and Linq, lambda and Silverlight as 3.5!! Any advice appreciated! Thanks for the comments and Kicks too!

posted by jamesewelchjamesewelch(2265) 2 years, 4 months ago

http://msdn2.microsoft.com/en-us/vcsharp/default.aspx

says "Unified C# 3.0 Specification Now Available"

I think the language is 3.0, but the Framework will be 3.5 that the language will be released in.

posted by powerrushpowerrush(3754) 2 years, 4 months ago

.NET 3.5 (aka Orcas, because VS releases coincide with Framework releases) Framework is C# 3.0 & VB.NET 9.0

information Login or create an account to comment on this story