
c#
且听风吟,
一只充满活力的预备攻城狮
展开
-
C#查找排序练习
Fibonacci数列using System;namespace Fibonacci{ class Program { static void Main(string[] args) { int[] f = new int[30]; f[0] = 1;f[1] = 1; //int [] f = { 1, 1 }; for(int i=2;i<f.原创 2020-06-14 11:32:28 · 190 阅读 · 0 评论 -
C#编写一个程序,输入梯形的上底,下底和高,点击面积按钮,输出梯形的面积。要求编写成Window应用程序。
编写一个程序,输入梯形的上底,下底和高,点击面积按钮,输出梯形的面积。要求编写成Window应用程序。using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System...原创 2020-06-08 16:06:12 · 6659 阅读 · 0 评论 -
winform计算器---C#
.csusing System;using System.Windows.Forms;namespace _201_winform{ public partial class Form1 : Form { private string strOutput=""; private double INumFormer=0; pr...原创 2020-05-03 20:42:14 · 484 阅读 · 0 评论 -
C#笔记---面向对象
using System;//类的设计class Person{ //引用数据类型的初始值为null //特征(通过字段来表现) public string name; public int age; public char gender; //行为(通过方法来表现) public void Eat() { Cons...原创 2020-04-09 18:17:14 · 107 阅读 · 0 评论 -
用递归求10的阶乘(C#)
using System;namespace FiftyWeek01{ class Program { static void Main(string[] args) { int a=Jiec(10); Console.WriteLine(a); } static int ...原创 2020-03-30 17:49:20 · 2088 阅读 · 0 评论 -
c#基础知识
原创 2020-03-02 18:04:59 · 90 阅读 · 0 评论