Category Archives: Uncategorized

Trim images in C#

This example shows how you can trim images to remove unnecessary whitespace around their edges. Sometimes when I make pictures for a book, it’s hard to tell where the edges of the picture begin, so I risk either including more … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Book Discussion Page: WPF 3d

This is a discussion page for my book WPF 3D, Three-Dimensional Graphics with WPF and C#. Please post questions, thoughts, and suggestions here in the “Leave a Reply” box at the bottom of the page. I will moderate posts and … Continue reading

Posted in 3D, 3D graphics, algorithms, books, drawing, graphics, mathematics, Uncategorized, wpf, XAML | Tagged , , , , , , , , , , , , , , | 5 Comments

“The C# Helper Top 100” now available at Barnes & Noble

My latest book, The C# Helper Top 100, is now available on Amazon here. (As was the case with Amazon, I need to contact them to update the book’s description.)

Posted in Uncategorized | Leave a comment

“The C# Helper Top 100” now available at Amazon

My latest book, “The C# Helper Top 100,” is now available on Amazon here. I need to contact them to update the book’s description, though. It usually takes a couple days for books to appear on other vendors. Barnes & … Continue reading

Posted in Uncategorized | Leave a comment

Update to “Interview Puzzles Dissected” sample puzzles

I’ve posted another (and probably last) sample puzzle for my book Interview Puzzles Dissected. The examples are in PDF form so they look a lot like they do in the book. Take a look at the samples to get an … Continue reading

Posted in Uncategorized | Leave a comment

Find a matrix inverse in C#

This example finds a matrix inverse for a square matrix. The inverse of a matrix is another matrix that, when multiplied by the first, gives the identity matrix as a result. In the identity matrix, all entries are 0 except … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , | 2 Comments

Print a Celsius to Fahrenheit conversion chart in C#

A friend of mine cooks a lot using Japanese cookbooks. Because ovens in the United States only display temperature in degrees Fahrenheit (someone should make that a switch on the oven), she needs to convert temperatures from Celsius to Fahrenheit. … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , | Leave a comment

Survey: What should be in my upcoming graphics book?

Please let me know what should be in my upcoming graphics book by taking a brief survey. The survey only contains 17 multiple-choice questions so it should only take a minute.

Posted in Uncategorized | 6 Comments

Help with a new book

Some time in the next few weeks, I plan to launch a Kickstarter campaign to help fund a new graphics book. It’s an enormous topic so I could probably write a few thousand pages on the topic, but that would … Continue reading

Posted in books, drawing, graphics, image processing, Uncategorized | Tagged , , , | 3 Comments

Get the executing method name in C#

This example shows how you can get the method name for the currently executing method. Normally you don’t need to get that name (you can just look at the code you’re typing), but sometimes it’s useful for standard tracing and … Continue reading

Posted in debugging, Uncategorized | Tagged , , , , , , , , , | Leave a comment