GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CSharp-Feature-Example/Ver3.0/PartialMethods/Program.cs at main · ranbims/CSharp-Feature-Example

Expand file tree

/

Program.cs

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
24 lines (22 loc) · 729 Bytes
/

Program.cs

Copy path

File metadata and controls

24 lines (22 loc) · 729 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
/// <summary>
/// A partial method has its signature defined in one part of a partial type,
/// and its implementation defined in another part of the type.
///
/// Partial methods enable class designers to provide method hooks,
/// similar to event handlers, that developers may decide to implement or not.
///
/// If the developer does not supply an implementation, the compiler removes the signature at compile time.
/// </summary>
namespace PartialMethods
{
partial class Program
{
partial void OnSomethingHappened(String s);
static void Main(string[] args)
{
Program p = new Program();
p.OnSomethingHappened("What happend?");
}
}
}
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.