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
namespace Triangle; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Введите длину стороны A"); | |
var A = Convert.ToInt32(Console.ReadLine()); | |
Console.WriteLine("Введите длину стороны B"); |
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.Runtime.InteropServices.JavaScript; | |
using System.Security.Cryptography; | |
namespace Roma; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Введите число"); |
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
namespace array; | |
class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
int[] A = { 0, 1, 2, 3, 4, 5, 6, 7, 8 }; | |
Console.WriteLine(A.Length);//получение длины массива |
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 ConsoleApp5; | |
internal class Programm | |
{ | |
public class Hippo | |
{ | |
public const int _fangs = 2; // клыки | |
public static string habitat { get; set; } // ареал |
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.Drawing; | |
using System.Security.Cryptography.X509Certificates; | |
using System.Xml.Linq; | |
using static System.Runtime.InteropServices.JavaScript.JSType; | |
// Меню кебабов (шаверма, мини, дёнер, на тарелке) | |
// Выбор вида кебаба в соответсвии с предпочтениямии по начинке | |
public class Program | |
{ |
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
CREATE TABLE [Teachers] ( | |
[Id] INT NOT NULL, | |
[Teacher] NVARCHAR(255), | |
PRIMARY KEY([Id]) | |
); | |
GO | |
CREATE TABLE [Subjects] ( | |
[Id] INT NOT NULL, |
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.Data; | |
using Npgsql; | |
namespace DbTusk; | |
class Program | |
{ | |
private const string connString = | |
" "; | |
static void Main(string[] args) |
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 Dapper; | |
using Npgsql; | |
using WorkoutTrackingWebApp.Models; | |
namespace WorkoutTrackingWebApp.Data | |
{ | |
public class BiometryDataProvider | |
{ | |
private readonly string _dbConnectionString; | |