Whidbey Readiness Quiz: More on arrays

Continuing examining new types in Whidbey…  My goal is to motivate why we added Whidbey features through simple little quizzes.   For today, let’s say you have several arrays of ints and you want to sum different sub ranges from each one (that is, a different start index and count for each array).  For example, if…

22

Feedback on collection Interfaces

Krzysztof is asking for your feedback on some changes we are considering for the generic collections interface… Please join in the conversation… IComaprer & IComparable Refactoring Proposal

0

Whidbey Readiness Quiz (Answer): Converting array values

Well, lots of good responses…  I can see this is going to be a hard group to stump.  Nat nailed all the points quickly, even if it took him two posts to do it ;-)… there were several other great responses as well.      Here is the code I came up with… I wanted…

8

I’ll take even the smallest evidence of success

I have made it my mission to institutionalize the value good API design.  I strongly believe that this is key to making developers more productive and happy on our platform.   One very small way to measure that success is to notice where 3rd parties have internalized that message, followed our guidance and use that fact…

10

Perf Tips for Library developers

Rico has some good tips particularly for people building low level managed libraries… worth a read. I see the mono guys already picked it up, I wanted to make sure others saw it as well…  

4

Whidbey Readiness Quiz: Converting array values

Thinking about my last little quiz, I realize there are thousands (literally) of new methods across the framework in Whidbey.  How better to introduce\explain them than illustrating the problem they are intended to fix..   Let’s say you had this code:         string[] inputValues = {“0”,“1”,“2”,“3”,“4”,“5”,“6”,“7”,“8”,“9”,“10”,“bad value”};         int[] outputValues;         outputValues = (int[])inputValues; Clearly…

22

Off to Saint Louis…

I will be doing some college recruiting at Washington University in Saint Louis Nov 8th and 9th.  I already have a talk on campus on the 9th (I will post more details on that when I get them) but if there is a local user’s group that would like a sneak peak at .NET Framework…

7

Answer: More Exception Mysteries

Well, you folks were a lot quicker than I was… Steve got basically what I was looking for very quickly after I posted…   Ben’s answer (to add his own local Exception class) was cute, but was clearly cheating as I did say no new classes…     What I was looking for exactly was:  …

6

Quiz: More Exception Mysteries

Yesterday I heard about a cool Whidbey feature that inspired me to come up with this little quiz.  The code below when run will print out: In try In catch After try..catch   class Program {     static void Main(string[] args)     {         try         {             Console.WriteLine(“In try”);             throw new Exception();        …

12

The SLAR on System.Byte

Continuing in the series on sharing some of the information in the .NET Framework Standard Library Annotated Reference Vol 1 here is an annotation from the System.Byte class.  Boy, was this ever a controversial point when we first started the framework, but time has so far shown that this is just not a big issue. …

1