TL
TL

C# Methods with Multiple Boolean Arguments

Several Different Ways to Deal with It

Tim Leffelman

Programmer, Engineer

October 23, 2015

Every once in awhile, the need seems to arise to create a method that takes a large number of boolean arguments. The method prototype would like something like the one shown below.

void MyMethod(
 bool a,
 bool b,
 bool c,
 bool d
);

From a usage viewpoint, it's generally a bad idea to put too many . . .

Read More

Getting Started with Silvrback

Quick References to Get You Up and Running

Tim Leffelman

Programmer, Engineer

September 27, 2015

I have only written a few posts using Silvrback, but so far the experience has gone well. Below is a quick list of things to keep in mind if you have decided to give Silvrback a whirl.

Username

At some point during the registration process, you will be asked to choose a username. Your username will be publicly visible as the . . .

Read More

Tally Counting with Roman Numerals

Tim Leffelman

Programmer, Engineer

September 26, 2015

I found this on my Google Drive. It's a document that I had started years ago but never did anything with. Since it was pretty much done (just had to do a bit of Silvrback markdown), I decided to post it here . Who knows...it might help somebody to remember how to count in Roman numerals!


Roman Numerals

Roman . . .

Read More

C# using() statements

Tim Leffelman

Programmer, Engineer

September 19, 2015

In C#.NET, the using keyword is used two different ways:

  • using directive
  • using statement

A using directive at the top of a .cs file imports or aliases a namespace or type throughout the .cs file. Several using directive examples are shown below.

// Import all types from namespace
// Types within the . . .

Read More

Archive
   Subscribe by email and never miss a post.