Skip to content

Instantly share code, notes, and snippets.

View preetksingh80's full-sized avatar

Preet Singh preetksingh80

View GitHub Profile
@preetksingh80
preetksingh80 / agents.md
Created October 15, 2025 08:59 — forked from QINGCHARLES/agents.md
My agents.md/copilot-instructions.md for .Net 10 coding

What AI agents should know about me

C# / ASP.NET Core developer (Razor Pages + Windows Forms) targeting .NET 8–10.

Coding standards & conventions

  • Strong explicit typing; avoid var unless the type is truly obvious or required.
  • PascalCase every identifier (types, members, variables, parameters, generics, Razor artifacts, generated names like App/Builder).
  • Exception: simple loop counters (i, j, k, w, h, x, y, z).
  • Tabs for indentation; opening brace on its own line.
@preetksingh80
preetksingh80 / currying in c#
Created June 16, 2014 15:14
currying in c#
class Program
{
static void Main(string[] args)
{
var myClass = new Funcs();
var x = myClass.Add(2)(3);
Console.WriteLine(x);
Console.ReadKey();
}
@preetksingh80
preetksingh80 / nEtkD.markdown
Created June 16, 2014 15:12
A Pen by Preet Singh.