如何在C#中编写代码 [英] how to write a code in c#

查看:105
本文介绍了如何在C#中编写代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想设计一个小型计算器,但是在编写代码时遇到困难.请帮助我讲解.

I want to design a small calculator and I''m having difficulty in the writing of the code. Please help me go through.

推荐答案

为什么使用C#?每个人都有一件事,几乎是一个随时可用的计算器,比带按钮的愚蠢计算器好得多,后者只是模仿旧的计算器设备而没有真正的用处.这称为JavaScript,它可以留在任何Web浏览器中.

您只需要知道如何使用JavaScript.您可以看一下这个:
http://sakryukov.org/freeware/calculator/ [
Why C#? There is one thing which everyone has and which is almost a ready-to-use calculator, much better than the stupid calculator with button which just imitates old calculator devices without being really useful. This is called JavaScript which leaves in any of the Web browsers.

You just need to know how to use JavaScript. You can look at this one:
http://sakryukov.org/freeware/calculator/[^].

—SA


如何操作: CodeDom [
How about this: Parsing a postfix expression in C#, my naive approach[^].
Or you could do a CodeDom[^] approach.

The Sky is the limit... ;-)

Cheers
Andi


这里有一些文章供您参考……仔细阅读,您将学到如何用C#制作一个简单的计算器. http://www.c-sharpcorner. com/blogs/6533/how-to-make-simple-calculator-in-c-sharp.aspx [ http://www.dreamincode.net /forums/topic/195285-how-to-make-an-simple-calculator-in-c%23/ [ http://www.dreamincode.net/forums/topic/32968-basic -calculator-in-c%23/ [
Here some articles for you...b reading carefully you will learn how to make a simple calculator in C#..
http://www.c-sharpcorner.com/blogs/6533/how-to-make-simple-calculator-in-c-sharp.aspx[^]
http://www.dreamincode.net/forums/topic/195285-how-to-make-an-simple-calculator-in-c%23/[^]
http://www.dreamincode.net/forums/topic/32968-basic-calculator-in-c%23/[^]


这篇关于如何在C#中编写代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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