如何在C#中将逻辑运算符作为参数传递? [英] How to Pass Logical Operators as arguments in C#?

查看:300
本文介绍了如何在C#中将逻辑运算符作为参数传递?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道如何在我的方法中将运算符作为参数传递.

i Dont know how to pass operators as arguments in my method.

推荐答案


您可以参考这篇文章.

http://stackoverflow.com/questions/1190062/passing-an-operator-和其他参数一起使用 [ ^ ]
Hi,
You can refer this article.

http://stackoverflow.com/questions/1190062/passing-an-operator-along-with-other-parameters[^]


另一个可能有用的示例,

将逻辑运算符作为参数传递 [ ^ ]
:)
Another example which might help,

Pass Logical Operators as arguments[^]
:)


这篇关于如何在C#中将逻辑运算符作为参数传递?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆