↓ Skip to Main Content
Cowthulu

Main Navigation

  • Home
  • Blog
  • Writing
  • Costuming
  • About

Category: Programming

C# Wait Cursor that automatically goes away

By Arlen Posted on July 23, 2015 Posted in Programming 4 Comments Tagged with .NET, C#, WinForms, WPF

I actually did a post around this topic a while ago on another site that is now defunct, but I figured it is still useful, and I have a few additional details to add. Back in the C++/MFC days, there …

C# Wait Cursor that automatically goes away Read more »

New features of C# 6.0

By Arlen Posted on July 21, 2015 Posted in Programming No Comments Tagged with .NET, C#

With the recent release of C# 6.0, I thought it would be good to provide a brief explanation of the new features of the language. I’ve done them as individual posts: Null-conditional operators Auto-property initializers using static Expression bodies on …

New features of C# 6.0 Read more »

Index initializers

By Arlen Posted on July 21, 2015 Posted in Programming No Comments Tagged with .NET, C#

This is one of a series of posts on some of the new features in C# 6.0, which was just released. When Linq was added, a number of cool side-features ended up being added as well–these were things that were …

Index initializers Read more »

nameof expression

By Arlen Posted on July 21, 2015 Posted in Programming No Comments Tagged with .NET, C#

This is one of a series of posts on some of the new features in C# 6.0, which was just released. In C# there is a very handy expression – typeof – that returns the Type of an object. For …

nameof expression Read more »

String interpolation

By Arlen Posted on July 21, 2015 Posted in Programming No Comments Tagged with .NET, C#

This is one of a series of posts on some of the new features in C# 6.0, which was just released. The ability to format strings in .NET is straightforward, and fairly powerful (ignore the line breaks): string value = …

String interpolation Read more »

Exception filters

By Arlen Posted on July 21, 2015 Posted in Programming No Comments Tagged with .NET, C#

This is one of a series of posts on some of the new features in C# 6.0, which was just released. When catching exceptions in code, you can have a different catch block for different types of exceptions: try { …

Exception filters Read more »

Expression bodies on properties and methods

By Arlen Posted on July 21, 2015 Posted in Programming No Comments Tagged with .NET, C#

This is one of a series of posts on some of the new features in C# 6.0, which was just released. Expression bodies let you use lambda-style expression declarations for methods and properties. So, instead of: public int Add(int x, …

Expression bodies on properties and methods Read more »

The “using static” statement

By Arlen Posted on July 21, 2015 Posted in Programming No Comments Tagged with .NET, C#

This is one of a series of posts on some of the new features in C# 6.0, which was just released. I had to be careful about naming this one because just calling it “using static” implies a different topic! …

The “using static” statement Read more »

Auto-property initializers

By Arlen Posted on July 20, 2015 Posted in Programming No Comments Tagged with .NET, C#

This is one of a series of posts on some of the new features in C# 6.0, which was just released. Auto-properties were added some time ago. An auto-property lets you define a property without a backing field: public string …

Auto-property initializers Read more »

Null-conditional operator

By Arlen Posted on July 20, 2015 Posted in Programming No Comments Tagged with .NET, C#

This is one of a series of posts on some of the new features in C# 6.0, which was just released. Null-conditional member access is a great new feature that, I think, will help make code more bullet-proof and easier …

Null-conditional operator Read more »

Posts pagination

Previous 1 2 3 Next

Blog Topics

  • Conventions
  • Costuming
  • Making
  • Other
  • Patents
  • Politics
  • Practical Jokes
  • Programming
  • Reading
  • Travel
  • Writing

Recent Posts

  • The Dreaming
  • The Amazing Mermaid
  • Compact
  • The Wish Doctor
  • Baen Award and Dragon Con

Links

  • My Amazon Author Page
  • COSine Convention
  • RSS Feed
  • Twitter: @arlenfeldman
  • Mastodon: @cowthulu@mastodon.social
  • Bluesky: @cowthulu.bsky.social
Copyright © 2025 Cowthulu | Powered by Responsive Theme