Skip to content

Instantly share code, notes, and snippets.

View alexandrgrabco's full-sized avatar

alexandrgrabco

View GitHub Profile
using System;
namespace ReadInt
{
class Program
{
static void Main(string[] args)
{
int number = RequestUserNumber();
@alexandrgrabco
alexandrgrabco / gist:99ed412834c1638f283c2d9d49be6885
Last active April 29, 2025 15:38
ДЗ: Скобочное выражение
using System;
using System.Data;
namespace UDEMY
{
class Program
{
static void Main(string[] args)
{
Console.Write("Введите скобочное выражение: ");
using System;
namespace UDEMY
{
class Program
{
static void Main(string[] args)
{
int[] numbers = { 1, 2, 3, 4 };
int count;
using System;
namespace UDEMY
{
class Program
{
static void Main(string[] args)
{
string text = "Я хочу стать разработчиком игр на C# Unity";
using System;
namespace UDEMY
{
class Program
{
static void Main(string[] args)
{
int[] numbers = new int[10] { 15, 7, 10, 68, 102, 38, 46, 55, 78, 87 };
using System;
namespace UDEMY
{
class Program
{
static void Main(string[] args)
{
int[] numbers = new int[30] { 23, 23, 77, 48, 48, 48, 48, 12, 90, 34, 34, 34, 34, 34, 67, 67, 56, 56, 89, 89, 89, 72, 45, 45, 18, 18, 99, 99, 99, 10 };
using System;
class Program
{
static void Main()
{
const string CommandSum = "sum";
const string CommandExit = "exit";
int[] numbers = new int [0];
using System;
class Program
{
static void Main()
{
int[] numbers = { 1, 3, 7, 1, 2, 6, 3, 2, 9, 0, 5, 10, 8, 6, 4, 7, 2, 11, 15, 1, 2, 6, 4, 9, 3, 2, 8, 1, 0, 5 };
int arrayLength = numbers.Length;
int lastIndex = arrayLength - 1;
using System;
namespace ConsoleApp4
{
internal class Program
{
static void Main(string[] args)
{
int[,] matrix =
{
using System;
namespace ConsoleApp4
{
internal class Program
{
static void Main(string[] args)
{
int[,] number =
{