c# - 从字符串的值到表达式
问题描述
谁能帮我用c#,拜托!
如果我有:
bool x = true;
bool y = true;
string temp = "x & y" ;
bool myBo = temp; // my intention is myBo = x & y; = true from the string
有可能这样做吗?
谢谢
解决方案
推荐阅读
- javascript - 样式表已连接,但在进行一些更改时没有发生任何事情
- mysql - 如何计算平均值?
- java - Android Studio 未在 GridLayout 中显示按钮
- java - 使用arraycopy方法java的右循环移位
- javascript - 使用 Angular 6 动态创建可点击的 div
- php - 如何使用 PHP 或 MySQL 合并 MySQL 数据库中具有 2 个相同标识符和 2 个唯一标识符的行
- java - 从 Firebase 中提取数据导致崩溃
- ruby-on-rails - ActiveRecord 获取类别数组中的所有帖子及其所有类别
- python - Python 初学者问题 - Tkinter、Threading 和 bs4 模块
- javascript - 转移到带有 Html 标签的请求页面