This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| string data = File.ReadAllText("html.txt"); | |
| string start = "i.ytimg.com/vi/"; | |
| bool endSearch = false; | |
| int count = 0; | |
| string videoId = ""; | |
| string allIDstring = File.ReadAllText("allid.txt"); | |
| List<string> allID = allIDstring.Split(';').ToList(); | |
| List<string> newLink = new List<string>(); | |
| for (int i = 0; i < data.Length; i++) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Course; | |
| namespace TestProject | |
| { | |
| [TestClass] | |
| public class UnitTest1 | |
| { | |
| Words wordsGame = new Words(); | |
| List<string> usedWords = new List<string>(); | |
| List<string> dictionary = new List<string>(); | |
| Char endCurrentchar = 'О'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| string[] array = File.ReadAllLines("dict.txt"); | |
| List<string> listWordsString = array.ToList(); | |
| List<string> usedWords = new List<string>(); | |
| bool startGame = false; | |
| bool stopGame = false; | |
| int errorCount = 3; | |
| string CurrentWord = ""; | |
| Char endCurrentchar = ' '; | |
| FirstMove(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Windows; | |
| using System.Windows.Controls; | |
| using System.Windows.Input; | |
| using System.Windows.Media; | |
| using System.IO; | |
| using System.Threading.Tasks; | |
| using System.Threading; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // В файле строки типа "п;0" | |
| string Data = File.ReadAllText("TEXT.txt"); // считываем файл в string | |
| List<string> listString = new List<string>(Data.Split('\n')); //Сохраняем каждую строчку в список. | |
| List<char> listChar = new List<char>(); // Список с сипволами | |
| List<int> listInt = new List<int>(); // Список с числами | |
| foreach (var line in listString) | |
| { | |
| List<string> listString2 = new List<string>(line.Split(';'));// Разделяем на символ и число | |
| char symbol = listString2[0][0]; //Вытаскиваем символ | |
| int number = int.Parse(listString2[1]); // Вытаскиваем число |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Windows; | |
| using System.IO; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace DumbbellExercises |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Threading.Tasks; | |
| using System.Windows; | |
| using System.Windows.Controls; | |
| using System.Windows.Input; | |
| using System.Windows.Media; | |
| using System.Threading; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| public class MoveCamera : MonoBehaviour | |
| { | |
| float _speed = 0.02f; | |
| float _rotationSpeed = 10; | |
| private Vector2 _rotation; | |
| int _maxYAngle = 80; | |
| void Update() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System.Collections; | |
| using UnityEngine; | |
| public class Cube : MonoBehaviour | |
| { | |
| public int _check; | |
| Vector3 NewVector3; | |
| public IEnumerator MoveUp() | |
| { | |
| _check = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| public class Move : MonoBehaviour | |
| { | |
| static public float _targetUp = 1.5f; | |
| static public float _targetDown = 0.0f; | |
| GameObject _gameObject; | |
| void Update() | |
| { | |
| if (Input.GetMouseButtonDown(0)) |
NewerOlder