public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!".Split('/').Skip(1).SingleOrDefault() == null);
    }
}

Pasted 2 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!".Split('/').Skip(1).SingleOrDefault());
    }
}

Pasted 2 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!".Split('/').Length);
    }
}

Pasted 2 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello World!");
    }
}

Pasted 3 days ago

<%@ Page Title="" Language="C#" MasterPageFile="~/Layout.master" AutoEventWireup="true" EnableViewState="true"
    CodeFile="PupilMarks.aspx.cs" Inherits="PupilMarks" %>
<%@ Register Assembly="DevExpress.Web.v14.1, Version=14.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%----%>
<%@ Register TagPrefix="aspNewControls" Namespace="NewControls" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="HSCWebControls" Namespace="HSCWebControls" TagPrefix="HSC" %>
<asp:Content ID="Content1" ContentPlaceHolderID="LayoutHead" runat="server">
    <style>
        .standarttextboxformat {

Pasted 3 days ago

<%@ Page Title="" Language="C#" MasterPageFile="~/Layout.master" AutoEventWireup="true" EnableViewState="true"
    CodeFile="PupilMarks.aspx.cs" Inherits="PupilMarks" %>
<%@ Register Assembly="DevExpress.Web.v14.1, Version=14.1.8.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%----%>
<%----<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>--%>
<%@ Register TagPrefix="aspNewControls" Namespace="NewControls" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="HSCWebControls" Namespace="HSCWebControls" TagPrefix="HSC" %>
<asp:Content ID="Content1" ContentPlaceHolderID="LayoutHead" runat="server">
    <style>

Pasted 3 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(MaskPhoneNumber("234"));
    }
        private static string MaskPhoneNumber(string mobile)
        {
            if (string.IsNullOrEmpty(mobile))
            {

Pasted 3 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(MaskPhoneNumber("53206"));
    }
        private static string MaskPhoneNumber(string mobile)
        {
            if (string.IsNullOrEmpty(mobile))
            {

Pasted 3 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(MaskPhoneNumber("5306"));
    }
        private static string MaskPhoneNumber(string mobile)
        {
            if (string.IsNullOrEmpty(mobile))
            {

Pasted 3 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(MaskPhoneNumber("5306049272"));
    }
        private static string MaskPhoneNumber(string mobile)
        {
            if (string.IsNullOrEmpty(mobile))
            {

Pasted 3 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(MaskPhoneNumber("5306049272"));
    }
        private string MaskPhoneNumber(string mobile)
        {
            if (string.IsNullOrEmpty(mobile))
            {

Pasted 3 days ago

public class DotNetPad
{
    public static void Main(string[] args)
    {
        Console.WriteLine(DateTime.Parse("2016-04-27T08:49:04Z"));
    }
}

Pasted 4 days ago