Tag Archives: .NET

General .NET programming

Comment Converter from C# to Java

C# XML comments and Javadoc comments have a large overlap in semantic functionality but annoyingly use a very different syntax. C# XML comments are usually introduced by three slashes /// on each line and use XML elements for semantic information, whereas Javadoc employs standard comment blocks starting with /** (also optionally supported by C# but […]

Grand .NET Project Update

As noted previously, Visual Studio 2015 has an excellent free Community edition that prompted me to revisit my .NET resources. Today it’s the turn of my four remaining .NET projects: Tektosyne, Class Diagrammer, Hexkit, and Myriarch. First, a pleasant surprise: VS2015 can read existing VS2010 solution and project files without requiring any update process or […]

Updates for VS2015 & .NET 4.6

With Visual Studio 2015, Microsoft finally provides a free Community edition that’s both reasonably feature-complete and legal to use for any purpose by individuals and teams of up to five, or of any size for non-commercial projects. That’s a huge step up from the shamefully crippled Express editions of previous versions, although those strangely continue […]

Check .NET Version updated for 4.6

After a long hiatus, I reinstalled Visual Studio since the 2015 Community edition is finally both free and reasonably feature-complete. I’ll go through my various Microsoft-related pages to see if anything needs updating, and today I start with my popular .NET version checker utility. Check .NET Version with Inno Setup now supports all .NET Framework […]

Loop Closures in Java & C#

The lambda expressions introduced in Java 8 can capture, or “close over”, any local variable that’s within scope and effectively final (Java 8 Language Specification §15.27.2, §4.12.4). Interestingly, this includes the loop variables of enhanced for loops, or for-each loops as I prefer to call them. Cay Horstmann mentions this very useful but non-obvious fact […]

.NET Core: Hype vs Reality

Attention: This is an old post, originally written in late 2014 when .NET Core was first announced. There were some later updates but nevertheless, some content may be out of date now. The great excitement over Microsoft’s announcement to open-source a cross-platform .NET Server Core (explanation by Tim Anderson) is frankly rather puzzling. As Mike […]

Java 8 for C# Programmers

My overview article Java for C# Programmers has been updated for Java SE 8. You can find many links to the new features in the announcement and follow-up post at Oracle’s Java Tutorials Blog. I also once again recommend Cay S. Horstmann’s book, Java SE 8 for the Really Impatient. That said, here’s a quick […]

Struct Performance 2014

Once again and probably for the last time, I’ve updated my .NET Struct Performance article with results for the latest batch of compilers and runtimes. Microsoft’s and Mono’s current CLRs are unchanged as expected, and so is the excellent MinGW gcc. Visual C++ 2013 gave a nasty shock with massive optimizer failures for user-defined types […]

Programming Languages in 2013

Andrew Binstock’s annual Rise And Fall of Languages analyzes Google Trends, the TIOBE index, and Ohloh’s coverage of 600,000 open-source projects to discover… that there wasn’t much to discover. Java and C++ continue their slow long-term decline, but as Daniel Lemire notes that decline is so slow that any year-over-year movement might as well be […]