Keyword Implementation in C#
Posted
by j-t-s
on Stack Overflow
See other posts from Stack Overflow
or by j-t-s
Published on 2010-05-08T11:14:54Z
Indexed on
2010/05/08
11:18 UTC
Read the original article
Hit count: 197
Hi All
Is there a way, and how would I go about implementing my own keyword such as in
, and as
(etc), to be used in my code?
Here is what I had in mind. I want to (just for my own personal reasons, I guess) add a few keywords of my own, one of which would be the "was
" keyword:
if(Control was Clicked)
{
// etc etc
}
© Stack Overflow or respective owner