.NET 4.6.2 and long paths on Windows 10

The Windows 10 Anniversary update is almost out the door. .NET 4.6.2 is in the update (as we’ve looked at in the past few posts). I’ve talked a bit about what we’ve done in 4.6.2 around paths, and how that is targeted at both allowing access to previously inaccessible paths and opens up the door for…

51

Creating a SSCLI C# Template for Visual Studio

In my last post (MSBuild your SSCLI C# projects) I demonstrated how to create an MSBuild targets file for the SSCLI (Rotor).   In this post I’ll show you how to make it easier to use Visual Studio to develop SSCLI C# projects. To build successfully in VS you need to do a few things, notably: Override…

0

MSBuild your SSCLI C# projects

[ Edit 22 Feb 2008: The complete SSCLI.CSharp.targets file can be found here. ] In my last post I got SSCLI compiling with the 2008 C++ compiler (SSCLI 2.0 and Visual Studio 2008).  (A side note: since it is clearly possible to build SSCLI with the compiler there is no reason you shouldn’t be able to get a VS Solution up and running that…

3

Looking at double buffering and the new BufferedGraphics classes

I started spending some time looking at double buffering with Windows Forms a little while back and noticed that in the 2.0 framework there are a couple of new BufferedGraphics classes.  I toyed around with them a bit and got them to work, but didn’t really understand what was going on.  Looking into things again…

0

Inlining IL link

A tool for inlining IL in C#/VB.  (Essentially.)

0

Generic Collections IV

Back again, and as promised… Subclassing Generic Collections The framework provides three basic collections that are intended for derivation.  They are located in System.Collections.ObjectModel: Collection<T> KeyedCollection<TKey, TItem> ReadOnlyCollection<T> They are all intended to provide base implementations of the following interfaces: IList, IList<T> ICollection, ICollection<T> IEnumerable, IEnumerable<T> Collection<T> stores it’s data internally as IList<T> (and also takes IList<T> in…

2

Generic Collections III

So far I’ve gone over the basics of generic collections and moved on to looking at List<T> and Predicate<T>.  As mentioned yesterday, this post will deal with subclassing and the other System delegate types. The “Other” System.Delegates  We’ve already looked at System.Predicate<T>.  Now we can turn our attention to the rest of the System deleagte types: Action<T>…

4

Generic Collections II

In yesterday’s post I went over the very basics of generic collections in the 2.0 .Net framework.  Today I pick up where I left off with… Predicate<T> System.Predicate<T> is a generic delegate that is used to specify a search condition method to pass to the generic collections.  It simply takes an object of type <T>…

7

Generic Collections I

In one of my first posts I briefly mentioned that I would discuss a bit about what I’ve learned about using the new generic collections.  I’ve been putting it off a bit because I knew it would be a bit lengthy, but I really feel this is important so I’m going to push myself to…

10

A little more on bytes and endianness (byte order)

In my last post I talked about converting structs into byte arrays and vice versa.  There are a couple of related posts I’ve found that are worth reading: Read binary files more efficiently using C# Convert Integers to Byte Arrays The first post gives a nice example on converting a type (class, struct) from one…

1