Skip to content

Instantly share code, notes, and snippets.

View pkpjpm's full-sized avatar

Paul Keister pkpjpm

View GitHub Profile
@RobBlackwell
RobBlackwell / SQLAzureExportSample.cs
Created April 12, 2012 08:45
Sample showing how to export a SQL Azure database to BACPAC format.
using System;
using System.IO;
using System.Net;
using System.Runtime.Serialization;
using System.Text;
using System.Xml;
namespace SqlAzureBackup
{
class Program

String interpolation

var x = 1;

// same as string.Format("A {0} B", x) 
var y1 = $"A {x} B"; // y == "A 1 B"

// $@ for multiline
var y2 = $@"A