{"schemaVersion":1,"title":"C# · DocFX","url":"https://appgram.github.io/docsy/versions/current/es/dotnet-sdk","markdownUrl":"https://appgram.github.io/docsy/format-md/versions/current/es/dotnet-sdk","jsonUrl":"https://appgram.github.io/docsy/agent/pages/versions/current/es/dotnet-sdk.json","version":"current","locale":"es","markdown":"# C# · DocFX\n\nReal DocFX assembly and compiler XML output from the checked-in csharp fixture source. Generated artifacts, commands, versions, and SHA-256 hashes are recorded under sources/native. This is a teaching library, not a published SDK.\n\n> Source: https://appgram.github.io/docsy/versions/current/es/dotnet-sdk  \n> Language: csharp  \n> Symbols: 10 across 2 categories\n\n## Categories\n\n- [Example](#example) — 9 items\n- [Namespaces](#namespaces) — 1 items\n\n## Example\n\n### `Example.Greeter`  <sub>class</sub>\n\nBuild personalized greetings without network access.\n\n**Remarks** — Create one greeter per locale. Prefix changes affect future calls.\n\n**Related types** — `System.Object`\n\n```csharp\npublic class Greeter\n```\n\n**Example**\n\n```csharp\nvar greeter = new Greeter();\nConsole.WriteLine(greeter.Greet(\"Docsy\"));\n```\n\n---\n\n### `Example.Greeter.Greet(string)`  <sub>method</sub>\n\nGreet a reader.\n\n**Parameters**\n\n| Name | Type | Required | Description |\n\n| --- | --- | --- | --- |\n\n| `name` | `System.String` | ✓ | Reader name. |\n\n**Returns** — `System.String` — A friendly greeting.\n\n```csharp\npublic string Greet(string name)\n```\n\n**Example**\n\n```csharp\nnew Greeter().Greet(\"Ada\");\n```\n\n---\n\n### `Example.Greeter.GreetChecked(string)`  <sub>method</sub>\n\nReject an empty reader name.\n\n**Errors**\n\n- `System.ArgumentException` — When name is empty.\n\n**Parameters**\n\n| Name | Type | Required | Description |\n\n| --- | --- | --- | --- |\n\n| `name` | `System.String` | ✓ | Reader name. |\n\n**Returns** — `System.String` — A validated greeting.\n\n```csharp\npublic string GreetChecked(string name)\n```\n\n---\n\n### `Example.Greeter.Greeter()`  <sub>constructor</sub>\n\n```csharp\npublic Greeter()\n```\n\n---\n\n### `Example.Greeter.GreetMany(string[])`  <sub>method</sub>\n\nGreet several readers while preserving input order.\n\n**Parameters**\n\n| Name | Type | Required | Description |\n\n| --- | --- | --- | --- |\n\n| `names` | `System.String[]` | ✓ | Reader names. |\n\n**Returns** — `System.String[]` — Greetings in the same order.\n\n```csharp\npublic string[] GreetMany(string[] names)\n```\n\n**Example**\n\n```csharp\nnew Greeter().GreetMany(new[] { \"Ada\", \"Linus\" });\n```\n\n---\n\n### `Example.Greeter.Prefix`  <sub>property</sub>\n\nGreeting prefix used for future calls.\n\n**Returns** — `System.String`\n\n```csharp\npublic string Prefix { get; set; }\n```\n\n---\n\n### `Example.Mood`  <sub>enum</sub>\n\nSupported greeting moods.\n\n**Values** — `Friendly`, `Formal`\n\n```csharp\npublic enum Mood\n```\n\n---\n\n### `Example.Mood.Formal`  <sub>field</sub>\n\n**Returns** — `Example.Mood`\n\n```csharp\nFormal = 1\n```\n\n---\n\n### `Example.Mood.Friendly`  <sub>field</sub>\n\n**Returns** — `Example.Mood`\n\n```csharp\nFriendly = 0\n```\n\n## Namespaces\n\n### `Example`  <sub>namespace</sub>\n"}