- 博客(6)
- 收藏
- 关注
原创 C#排序
王腾飞 2019/5/9 21:20:20//对当前数组进行排序int[] intArray = new int[7] { 45, 96, 212, 23, 109, 78, 36 };int num = 0;for (int i = 0; i < intArray.Length ; i++){for (int j = 0; j < intArray .Length -1-...
2019-05-09 21:22:22
262
原创 C# 基础(访问数组元素)
////随机生成1-10数字 添加到数组中 不能出现重复 //Random random = new Random(); //int[] intArr = new int[10]; //for (int i = 0; i < intArr.Length; i++) //{ // //随...
2019-04-26 20:34:56
695
原创 C# 各种姿势输出★★
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace _4._21{class Program{static void Main(string[] args){////打星1//for (...
2019-04-25 18:50:07
277
原创 Unity C#摄像机高级跟随脚本
//声明变量,保存摄影机要跟随的目标public Transform target;//声明变量,保存移动速度,初始化为2public float moveSpeed = 2;//声明变量,保存位移private Vector3 offset;void Awake() {//位移为摄像机位置与目标位置的距离offset = transform.position - target.p...
2019-04-23 18:53:31
965
原创 c#
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace _4._21{class Program{static void Main(string[] args){//string a = “牛...
2019-04-23 11:41:36
296
原创 2.19.4.18
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace _4._18{class Program{static void Main(string[] args){//int a = 10;/...
2019-04-18 19:29:47
121
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅