c#learn
来源:互联网 发布:一个网站几个域名 编辑:程序博客网 时间:2024/05/29 10:39
using System;namespace RectangleApplication{ class Rectangle { // 成员变量 double length; double width; public void Acceptdetails() { length = 4.5; width = 3.5; } public double GetArea() { return length * width; } public void Display() { Console.WriteLine("Length: {0}", length); Console.WriteLine("Width: {0}", width); Console.WriteLine("Area: {0}", GetArea()); } } class ExecuteRectangle { static void Main(string[] args) { Rectangle r = new Rectangle(); r.Acceptdetails(); r.Display(); Console.ReadLine(); } }}
0 0
- c#learn
- Learn Objective-C
- Learn Objective-C
- Learn Objective‐C
- Learn Objective‐C
- Learn C Pointers
- [C++]C++ Learn-Book
- c programming language learn 5
- How do you learn C++?
- Learn Objective-C: Day 1
- Learn Objective-C: Day 2
- Learn Objective-C: Day 3
- learn
- learn
- c programe language learn notes 1
- c programe language learn notes 2
- c programe language learn notes 3
- c programming language learn note 4
- 四,angular服务
- C++第二次试验--选择循环结构(项目4,项目5)
- Linux堆内存管理深入分析(上)
- 3月8号
- C++浅谈组合和继承
- c#learn
- Lightoj1007【欧拉函数-素数表】
- ASM ClassReader failed to parse class file
- Effective Java读书笔记——第五章 泛型
- errno列表
- Linux shell脚本作业
- MyBatis拦截器Inteceptor
- 各个公司前端笔试题回顾
- 大端小端格式详解