Southperry.net
SethElite, Lern2C# - Printable Version

+- Southperry.net (https://www.southperry.net)
+-- Forum: Social (https://www.southperry.net/forumdisplay.php?fid=14)
+--- Forum: Shenanigans (https://www.southperry.net/forumdisplay.php?fid=51)
+--- Thread: SethElite, Lern2C# (/showthread.php?tid=13705)

Pages: 1 2


SethElite, Lern2C# - Kortestanov - 2009-07-18

Code:
using System;
using System.Windows.Forms;
using System.InteropServices;

namespace ICWatUDidThar
{
    public class Program
    {
    [STAThread]
    public static void Main(string[] args)
    {
        Application.Run(new MainForm());
    }
    }
    
    public partial class MainForm
    {
    bool iSeeWhatYouDidThere;
    
    public MainForm()
    {
        InitializeComponents();
        iSeeWhatYouDidThere = false;
        this.Click += new MouseClickEventHandler(this.onClick);
    }

    public void onClick(MouseClickEventArgs e)
    {
        iSeeWhatYouDidThere = true;`
    }
    }
}



SethElite, Lern2C# - Melancholy - 2009-07-18

using System;
using System.Windows.Forms;
using System.InteropServices;

namespace ICWatUDidThar
{
public class Program
{
[STAThread]
public static void Main(string[] args)
{
Application.Run(new MainForm());
}
}

public partial class MainForm
{
bool iSeeWhatYouDidThere;

public MainForm()
{
InitializeComponents();
iSeeWhatYouDidThere = false;
this.Click += new MouseClickEventHandler(this.onClick);
}

public void onClick(MouseClickEventArgs e)
{
iSeeWhatYouDidThere = true;`
}
}
}


SethElite, Lern2C# - Takebacker - 2009-07-18

Is it just me or is code tags really f'ucking annoying. Use a quote tag so i can see the whole damn code.


SethElite, Lern2C# - Rob - 2009-07-18

Takebacker Wrote:Is it just me or is code tags really f'ucking annoying. Use a quote tag so i can see the whole damn code.

Care to explain? How are they annoying?


SethElite, Lern2C# - Greg22 - 2009-07-18

You wouldn't see anything different if you used a quote tag, noob.


SethElite, Lern2C# - xLeviathan - 2009-07-18

Greg Wrote:You wouldn't see anything different if you used a quote tag, noob.

Nooooob.
It doesn't window.

Quote:using System;
using System.Windows.Forms;
using System.InteropServices;

namespace ICWatUDidThar
{
public class Program
{
[STAThread]
public static void Main(string[] args)
{
Application.Run(new MainForm());
}
}

public partial class MainForm
{
bool iSeeWhatYouDidThere;

public MainForm()
{
InitializeComponents();
iSeeWhatYouDidThere = false;
this.Click += new MouseClickEventHandler(this.onClick);
}

public void onClick(MouseClickEventArgs e)
{
iSeeWhatYouDidThere = true;`
}
}
}

vs.

Code:
using System;
using System.Windows.Forms;
using System.InteropServices;

namespace ICWatUDidThar
{
    public class Program
    {
    [STAThread]
    public static void Main(string[] args)
    {
        Application.Run(new MainForm());
    }
    }
    
    public partial class MainForm
    {
    bool iSeeWhatYouDidThere;
    
    public MainForm()
    {
        InitializeComponents();
        iSeeWhatYouDidThere = false;
        this.Click += new MouseClickEventHandler(this.onClick);
    }

    public void onClick(MouseClickEventArgs e)
    {
        iSeeWhatYouDidThere = true;`
    }
    }
}



SethElite, Lern2C# - Takebacker - 2009-07-18

Greg Wrote:You wouldn't see anything different if you used a quote tag, noob.

Lrnthediffbetweencodeandquote noob. Rolleyes


SethElite, Lern2C# - Greg22 - 2009-07-18

You still see all characters in both quite and code tags.


SethElite, Lern2C# - Rob - 2009-07-18

if you have a 19'' monitor or better.


SethElite, Lern2C# - Greg22 - 2009-07-18

I'm using a 17''.


SethElite, Lern2C# - Nikkey - 2009-07-18

Greg Wrote:You wouldn't see anything different if you used a quote tag, noob.

You would. No freaking whitespace. Preferring Kortesanov's code, apart from the `, ofc.

Brb making fancy C#-script.


SethElite, Lern2C# - Takebacker - 2009-07-18

Greg Wrote:You still see all characters in both quite and code tags.

I don't.

 This is what i see.



SethElite, Lern2C# - Greg22 - 2009-07-18

Maybe it's my resolution? Hell if I know.

 Spoiler



SethElite, Lern2C# - Kirov - 2009-07-18

It's the skin that does it.


SethElite, Lern2C# - Heidi - 2009-07-18

It depends on the forum skin. Doesn't appear correctly in Fusion.


SethElite, Lern2C# - chrome - 2009-07-18

see that screenshot of greg's

he's using MY WINDOWS SKIN...


SethElite, Lern2C# - Sn1perJohnE - 2009-07-18

I should write all my posts in code tags now, itll be n since i wont use breaks Goggleemoticon


SethElite, Lern2C# - Takebacker - 2009-07-18

Heidi Wrote:It depends on the forum skin. Doesn't appear correctly in Fusion.

Nowai.

L> Code tag fix for fusion.


SethElite, Lern2C# - Nikkey - 2009-07-18

Code:
public class CWhatIDo{
    
    public static void Main() {
        int[] arr = new int[]
                    {67, 29, -71, 1, 85, -78, -22, 58, 10, -70,
                     61, 14, -56, -15, 56, 7, -63, 2, -6, 9, 2,
                     -14, -4, 20, 61, 4, -56, -18, 10, 0, 46, 20,
                     -67, 4, 59, -13, -63, 14, -4, 50, 15, -57,
                     52, -2, -65, -2, 4, 55, 11, -78, 25, 4, -8,
                     -2, -4, 52, 1, -51, 8, -14, 10, 6, -23, -5,
                     28, 54, -10, -66, 71, 1, -50, -7, -21, 22,
                     59, 2, -57, 52, -14, -42, 2, -19, 7, 55, 16,
                     -56, -15, 56, 16, -79, 16, 47, 10, -70, 61,
                     14, -56, -15, 56, 1, -51, 8, -14, 10, 6, -23,
                     -5, 77, 1, -53, -25, 6, 19, -13, -12, 68, 15,
                     -56, -15, 56, -2, -52, -2, 5, -18, 93, -79,
                     84, -59, -33, -4, 18, -14, 16, 47, 30, -3,
                     -82, 55, -60, -7, 6, 6, 9, -22, 82, -18,
                     -46, 4, 46, 15, -56, -19, 12, 63, -1, -76,
                     -6, 4, 20, -12, 61}; //Wee.
        char[] chars = new char[arr.Length];
    
        int diff = arr[0];
        int n = arr[0];
        chars[0] = arr[0];
        Console.Write(chars[0]);
        for (int i = 1; i < arr.Length; i++){ // I herd you like decoding it.
            diff += arr[i];
            n ^= diff;
            chars[i] = (char)n;
            Console.Write(chars[i]);
        }
    }
}



SethElite, Lern2C# - Dusk - 2009-07-18

 Spoiler

ic (too lazy to install C# compiler)