Skip to content

Instantly share code, notes, and snippets.

View alifaaz's full-sized avatar

alifaaz

View GitHub Profile
using System;
class DirtyCodeExample
{
static void Main(string[] args)
{
string choice;
int a, b;
double result;
using System;
class DirtyCodeExample
{
static void Main(string[] args)
{
Console.WriteLine("Welcome to the secret code generator!");
string choice;
do
using System;
class SmellyCodeExample
{
static void Main(string[] args)
{
Console.WriteLine("Choose a shape:\n1. Circle\n2. Square");
string choice = Console.ReadLine();
if (choice == "1")
using System;
class DirtyCodeExample
{
static void Main(string[] args)
{
int[] a = new int[10];
int[] b = new int[10];
int[] c = new int[10];
using System;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter a number: ");
string input = Console.ReadLine();
int number = Convert.ToInt32(input);
using System;
using System.Collections.Generic;
class Program
{
static List<string> parkedCars = new List<string>();
static List<decimal> ticketPrices = new List<decimal>();
static void Main(string[] args)
{
using System;
using System.Collections.Generic;
class Program
{
static List<string> patients = new List<string>();
static List<string> doctors = new List<string>();
static List<string> monitoredPatients = new List<string>();
static void Main()
using System;
using System.Collections.Generic;
class SalesRep
{
public string Name { get; set; }
public double Latitude { get; set; }
public double Longitude { get; set; }
public SalesRep(string name, double latitude, double longitude)
using System;
using System.Collections.Generic;
// Create a list to store bank accounts
List<string> accountNumbers = new List<string>();
List<string> accountHolders = new List<string>();
List<decimal> accountBalances = new List<decimal>();
// Function to create a new bank account
void CreateAccount(string accountNumber, string accountHolder)
<MudTable Items="@tajers">
<HeaderContent>
<MudTh>الاسم الانكليزي </MudTh>
<MudTh>الاسم العربي</MudTh>
<MudTh>اللقب انكليزي</MudTh>
<MudTh>اللقب عربي</MudTh>
<MudTh>البريد الالكتروني</MudTh>
<MudTh>الهاتف</MudTh>
<MudTh>الوصف</MudTh>