阅读背景:

我可以在C#中定义类似Perl的绑定操作符(=〜)吗?

来源:互联网 

I really like being able to use =~ and !~ in Perl to evaluate a string against a regular expression. I'd like to port this functionality over to C#, but it appears that, while you can overload operators, you can't create new ones.I really like being able to use =~ and !~ in Pe




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: