Thanks so much, Tom!
But that's actually not what I wanted. I saw many advices on the Internet
that we can define our own types using structure, maybe we can use your way
with the class, but it's not exactly what I was looking for. I wanted to
create my own primitive type for my own convenience. The examples that I
found on the Internet were telling mostly about new XML types and only in
rare cases about C# using structure.
Regarding my previous opponent who spent 20 years in programming...) Well,
I'm not a boy as well, I started writing programs in 1979 and know a little
bit about this procedure.

If I didn't want to get it for sure I'd never
ask this question in this newsgroup...) There are some situations, not for
everyday use, but some, when we can use the power of the compiler to define
our own types and work with them as predefined types. I'm not going to argue
with anybody, because walking this way we easily can start complaining about
multiple inheritance and other features that have been ignored in this so
good, convenient, powerful and safe language as C#

Each stuff has it's
own advantages and disadvantages, we just need to have enough skills and a
good reason for using them. It's not discussible and depends on how do you
personally like these things, can you use them or not, etc. I guess this
thread can be closed with that.
Good luck!
Just D.
"Tom Spink" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Just D wrote:
>
>> All,
>>
>> It was possible before in Pascal, C++, etc. to define our custom data
>> type
>> or redefine the existing type, like in Turbo Pascal we could assume that
>> shortint is int and use all references to shortint like all these
>> variables became int.
>>
>> How can we define our own user data type in C# is we can?
>>
>> Just D.
>
> Hi Just D,
>
> If you define a class, and overload the implicit conversion operator, you
> can 'fake' it.