Posts Tagged ‘.NET’

Scrolling a C# RichTextbox when adding text

The need for an autoscroll property… Tons of applications are using the .NET RichTextBox for outputting status information. You have a RichTextBox that you just keep on adding text to. This is all very simple, but when the box is completely filled with text, further text added will no longer be visible, since the RichTextBox [...]

Social Icons Digg this page! Add this page to del.icio.us Bookmark this page on Google Bookmark this page on Google

Comments (3)

Integer types and their ranges

There are 8 basic integer types in C#. The names and ranges af these types are an industry standard, so they should also be valid in most other languages.
This article describes the range of values these types can hold, as well as a few usefull tricks.

Social Icons Digg this page! Add this page to del.icio.us Bookmark this page on Google Bookmark this page on Google

Leave a Comment

C-style unions in .NET

ByteUnion – Unions in .NET/C# Do you ever wonder what happened to the old-school C/C++ unions in C# ? Unions were extremely usefull for a wide range of problems back in the days where we dared make bold assumptions about memory-layout and the width of variables. .NET/C# does not allow us to make unions like [...]

Social Icons Digg this page! Add this page to del.icio.us Bookmark this page on Google Bookmark this page on Google

Leave a Comment