This lesson teaches you how to create a simple application—first using Windows Notepad and the C# Command Line Compiler, and then by using Visual Studio or Visual C# Express Edition. The point of this episode is to demonstrate how utilizing an Integrated Development Environment (IDE) is far easier…
It's been WAY too long since we've had Brian Beckman sharing knowledge, insights and perspectives on Channel 9. This changes now! Needless to say, I was incredibly happy to spend an hour with Brian learning all about what he's up to these days. Not surprisingly, he's writing code and employing…
Async involves some new concepts. They're not difficult; just unfamiliar. Over the past year Lucian Wischik has been watching how people use async/await in C# and VB. This series distils out the three top async patterns and anti-patterns. Tips: Async void is for top-level event-handlers only, and…
In this lesson, we discuss how to create a properly formed C# statement. As with any language, there's a "right way" and a "wrong way" to write "complete thoughts" in C#. We discuss how statements are made up of expressions, and how expressions are made up of operators…
Async Tip #2: It's crucial to distinguish CPU-bound work (should be done on threadpool) from IO-bound work (which needn't). You can download slides for this talk from Lucian's blog. I remember reading an old Android dev blog post. It said: "1. A good practice in creating responsive…
Async Tip #1: Async void is for top-level event-handlers only, and event-like things. Don't use it elsewhere in your code. Slides are available on Lucian's blog. Async void is a "fire-and-forget" mechanism: the caller is unable to know when an async void has finished, and the…
At Xamarin Evolve 2013, I caught up with Xamarin CTO Miguel de Icaza after his keynote. It's been a while since I last chatted with Miguel, so it was great to catch up. Clearly, he and team have been very busy pushing Mono forward and building Xamarin—a new technology that enables developers to…
In this video we begin wading into the topic of methods by creating a helper method to break out code we may need to use in multiple places within our code. We create and call our methods to retrieve a value, create and use input parameters, learn about string formatting, and create overloaded…
Jeff Wilcox is a developer on the Silverlight team. He spends a lot of his time (~80%) coding in C++. Strange? Of course not... Silverlight is a portable managed runtime and C++ (C with classes in this case) is what enables Silverlight portability. Of course, Jeff also…
Once again Laura and Paul bring their sharp with, clever commentary and desperate pleas for interactivity to your screens! Join in the fun and tell us what you think about these stories AND our QOTW (Question Of The Week). The countdown has begun [04:08] It's good to be popular [13:22]…