Skip to content

Instantly share code, notes, and snippets.

View KirillNikonov's full-sized avatar

Kirill Nikonov KirillNikonov

View GitHub Profile
alter table movie
alter column mid int NOT NULL
alter table movie
add genre varchar(max) NOT NULL
alter table movie
drop column genre
exec sp_rename 'movie.genre', 'ngenre', 'column'
using System;
using System.Linq;
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
string[] strs = { "a", "bc", "def", "ghij" };
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
using System;
using System.Linq;
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
int[] a = new int[] { 1, 2, 2, 3, 4, 4, 4, 5, 5, 6};
using System;
using System.Linq;
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
int[] a = new int[] { 1, 2, 2, 3, 4, 4, 4, 5, 5, 6};
using System;
using System.Linq;
using System.Data;
namespace ConsoleApplication
{
class Person
{
public string name;
public string company;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Data;
namespace ConsoleApplication
{
class Person
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Data;
namespace ConsoleApplication
{
class A
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Data;
namespace ConsoleApplication2
{
struct MyStruct
{
using System;
using System.Collections;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{