background preloader

C# .net

Facebook Twitter

Pearltrees - Google Chrome extension gallery.

Video Encoding

C# From a Java Developer's Perspective. The C# language is an object-oriented language that is aimed at enabling programmers to quickly build a wide range of applications for the Microsoft .NET platform.

C# From a Java Developer's Perspective

The goal of C# and the .NET platform is to shorten development time by freeing the developer from worrying about several low level plumbing issues such as memory management, type safety issues, building low level libraries, array boundschecking , etc. thus allowing developers to actually spend their time and energy working on their application and business logic instead. As a Java developer the previous sentence could be described as "a short description of the Java language and platform" if the words C# and the .NET platform were replaced with words Java and the Java platform.

What follows is an overview of similarities and differences between the language features and libraries of the C# and Java programming languages based on my experience using both languages. 60+ .NET libraries every developer should know about. Every good developer knows never to re-invent the wheel, especially if there is software out there that has been tested by others, and has an established track record.

60+ .NET libraries every developer should know about.

As a developer using the .NET framework I’ve found some of these libraries invaluable, so I’m sharing them for some of the other dev’s out there with a brief outline of how to use. Yedda Twitter Library. URL: I’ve used this on a number of very simple twitter projects, where I’ve just needed to send an update. As the site says its more of a wrapper for the Twitter API than an actual library, but none the less its an easy way to integrate with the service via a drop in dll. Dim objYedda As New Yedda.TwitterDim status as StringDim strTwitterUser as String = “username”Dim strTwitterPassword as String = “password”status = “Hello World”objYedda.Update(strTwitterUser, strTwitterPassword, strStatus, Yedda.Twitter.OutputFormatType.RSS) FileHelpers Library URL: First define the structure class… Perform actions on the array of Products. 10 C# Shorthands that improve productivity. If you're new here, you may want to subscribe to my RSS feed.

10 C# Shorthands that improve productivity

Thanks for visiting! One of the best things about C# is that as the language and libraries expand thought is put into keeping things readable. Below I have listed 10 shorthands that you can use to make your code tighter and less wordy. No doubt you know one or more already — but do you currently use all ten of them ? 1. I first read about the ? x = 10; y = 20; max; 5.if (x > y) 6. max = x; 7.else 8. max = y; Using the (Question) ? max = (x > y) ? 2. How often do you test for null values in your code? 1.object cache = null; 2.object d = new object(); 3.object e; 5.if (c ! 6. e = c; 8. e = d; It is obvious that we can rewrite this using the single ? 3.object e = (c ! Using the ?? 3.object e = c ?? 3. After you create a new object you often have to assign one or more of its properties. The .NET Framework 4.0 Workflow 4.0 -