Microsoft C#: 8 Reasons to Use it for Mobile Development

Microsoft C#: 8 Reasons to Use it for Mobile Development

Microsoft C#: 8 Reasons to Use it for Mobile Development
Written By
Darryl K. Taft
Darryl K. Taft
Jan 3, 2013
2 minute read
eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More


Cutting Edge

Microsoft C#: 8 Reasons to Use it for Mobile Development

Asynchronous programming is a first-class language feature and turns what is typically regarded as boring, repetitive and error-prone coding into a more simple experience, Friedman said. And anonymous types, lambda expressions, type inference, functional-style programming and LINQ allow developers to write code that is highly expressive and easy to maintain.


Powerful Features

2

Object-oriented programming and encapsulation make it easier for developers to structure code for maximum reuse. Capabilities like reflection and dependency injection offer developers a lot of power and flexibility.


Advanced Runtime

3

Garbage collection greatly simplifies development by eliminating the cognitive overhead of manual memory management. Developers can focus on solving problems that matter, instead of fighting with pointers.


Reliability

4

makes it faster and easier for programmers to detect and isolate bugs at compile time, which is an especially important characteristic in mobile development, where the build/run/test cycle is lengthened by the need for specialized packaging and deployment to a device or emulator. With compile-time sanity checking, C# developers don’t have to wait until their program crashes to find obvious errors.


Advertisement

Easy to Adopt

5

Friedman said C# is an easy language to learn, especially for developers who are already familiar with the principles of object-oriented programming. The enormous body of available C# reference material ensures that new developers never get stuck, he said.


Fast Execution

6

C# on Apple’s iOS is powered by the LLVM optimizing compiler, the same backend used by C and C++ that powers the operating system, giving developers the best of both worlds: the high productivity of C# and the performance of a low-level language. On Google’s Android, C# performs better than Java both because of language design choices (support for value types, real generic types and nonvirtual method defaults) and the more mature Mono runtime, compared with the relatively young Dalvik, Friedman said.


Native Access

7

Seamless interoperability with native code gives developers the best of both worlds. You can bind native libraries and leverage the power of P/Invoke to expose additional functionality to the world of managed code. This is how Xamarin has exposed 100 percent of the native APIs on iOS and Android to C# developers, giving them access to the full expressive power of the underlying platform, as Rdio recently demonstrated with their C#-based iOS and Android apps, he said.


Portability

8

Between Windows, iOS and Android, developers’ C# code can run on more than 2.2 billion devices. In addition, beyond mobile, C# is highly portable in a wide range of environments across the spectrum of mobile, embedded, desktop and server computing, Friedman said.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.