- 博客(6)
- 收藏
- 关注
原创 C# 基础_数组
string[] a = new string[5] { "avavav", "2", "3", "4", "5" };string[] b = new string[5] { "1", "bdbdbdb", "3", "4", "5" };int[] c = { 1, 6, 3, 4, 2, 5 };int[,] d = { { 1, 2 }, { 3, 4 } };//多为数组的定义[,]..........
2022-05-30 01:00:34 83
原创 C# 基础_字符串常用方法
static void Main(string[] args){ CommonOperationfunc Cof = new CommonOperationfunc(); Cof._Length();//获取长度 Cof._Substring();//截取字符串 Cof._IndexOf();//索引参数在字符串的位置 Cof._Trim();//删除前后空格(字符) Cof._Contains();//判断包含函数 Cof._LowerOrUpper();//大小阶 Cof._Compa
2022-05-30 00:53:02 70
原创 C# 基础_类的三大特性
C# 基础_类的三大特性1.封装class Ford { 1.属性封装 public string name = "Fu"; public int age = 29; int height = 161; 2.方法封装 public void print() { Console.WriteLine(area); }}2.继承public void print(){ Ford fg = new Ford() { stuta = "single", area =
2022-05-29 22:24:10 119
原创 Vue + WebApi项目(一)
<template><button @click="getWeather">点击</button></template><script>export default { data(){ return{ }; }, methods: { getWeather:fu...
2020-04-12 18:13:29 2589
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人