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

submitted by jdeejdee(270) 4 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: 355

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(2275) 4 years, 4 months ago 0

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.

Reply

posted by w3stfa11w3stfa11(645) 4 years, 4 months ago 0

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

Reply

posted by jamesewelchjamesewelch(2275) 4 years, 4 months ago 0

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.

Reply

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

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

Reply

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

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!

Reply

posted by jamesewelchjamesewelch(2275) 4 years, 4 months ago 0

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.

Reply

posted by powerrushpowerrush(3873) 4 years, 4 months ago 0

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

Reply

information Login or create an account to comment on this story