2. C# and Objective-C: Second Cousins Twice Removed

I always call my cousin because we’re so close. We’re almost like sisters, and we’re also close because our moms are sisters.

Britney Spears

This chapter provides you with a comparison of the two programming languages involved in iPhone and Windows Phone 7 Development: Objective-C and C#. You see where these languages are similar, where they differ, and how they support the complex application development frameworks for their respective platforms.

The first section of this chapter deals with the origins of each language. The chapter then continues with coverage of some of the most basic concepts of C# and how those apply to iPhone developers.

The Origin of Objective-C

Objective-C’s lineage starts ...

Get Windows Phone 7 for iPhone Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.