B
bubbakittee
I am designing a package of functions to be
used by people with very little programming
experience (if any) and very little patience.
I don't want to scare them with programmerish
words like "double" and "int". I think "Number"
and "Integer" would be more palatable.
If I were writing in C/C++ I would just
typedef double Number;
typedef int Integer;
But I'm using C# because I thought it would be
"safer" for these folks.
So, how do I "typedef" in C# ??
I know I can write something like
using Number = System.Double;
But where do I put this to make it globally visible ??
I certainly don't want my users to see it at
the top of every file, so I need to hide it
somewhere.
thanks
bk
used by people with very little programming
experience (if any) and very little patience.
I don't want to scare them with programmerish
words like "double" and "int". I think "Number"
and "Integer" would be more palatable.
If I were writing in C/C++ I would just
typedef double Number;
typedef int Integer;
But I'm using C# because I thought it would be
"safer" for these folks.
So, how do I "typedef" in C# ??
I know I can write something like
using Number = System.Double;
But where do I put this to make it globally visible ??
I certainly don't want my users to see it at
the top of every file, so I need to hide it
somewhere.
thanks
bk