Question

I recently started working on SilverLight and WPF.

I am just curious why microsoft choose "*.g.cs" name for the partial code-behind class. Is there any significance of the letter "g" here?

It is very much like the designer.cs of asp.net world. The only difference i know about is the "InitializedComponent()" part.

Was it helpful?

Solution

The "g" stands for "generated", as these are auto-generated.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top