# F# · DocFX

Real DocFX assembly and compiler XML (declarations are C# when F# syntax is absent) output from the checked-in fsharp fixture source. Generated artifacts, commands, versions, and SHA-256 hashes are recorded under sources/native. This is a teaching library, not a published SDK.

> Source: https://appgram.github.io/docsy/versions/current/es/fsharp-sdk  
> Language: fsharp  
> Symbols: 7 across 2 categories

## Categories

- [Example](#example) — 6 items
- [Namespaces](#namespaces) — 1 items

## Example

### `Example.Greeter`  <sub>class</sub>

Build personalized greetings without network access.

**Related types** — `System.Object`

```csharp
public class Greeter
```

**Example**

```fsharp
let greeter = Greeter()
greeter.Greet("Docsy")
```

---

### `Example.Greeter.Greet(string)`  <sub>method</sub>

Greet a reader.

**Parameters**

| Name | Type | Required | Description |

| --- | --- | --- | --- |

| `name` | `System.String` | ✓ | Reader name. |

**Returns** — `System.String` — A friendly greeting.

```csharp
public string Greet(string name)
```

**Example**

```fsharp
Greeter().Greet("Ada")
```

---

### `Example.Greeter.GreetChecked(string)`  <sub>method</sub>

Reject an empty reader name.

**Errors**

- `System.ArgumentException` — When name is empty.

**Parameters**

| Name | Type | Required | Description |

| --- | --- | --- | --- |

| `name` | `System.String` | ✓ | Reader name. |

**Returns** — `System.String` — A validated greeting.

```csharp
public string GreetChecked(string name)
```

---

### `Example.Greeter.Greeter()`  <sub>constructor</sub>

```csharp
public Greeter()
```

---

### `Example.Greeter.GreetMany(string[])`  <sub>method</sub>

Greet several readers while preserving input order.

**Parameters**

| Name | Type | Required | Description |

| --- | --- | --- | --- |

| `names` | `System.String[]` | ✓ | Reader names. |

**Returns** — `System.String[]` — Greetings in the same order.

```csharp
public string[] GreetMany(string[] names)
```

**Example**

```fsharp
Greeter().GreetMany([| "Ada"; "Linus" |])
```

---

### `Example.Greeter.Prefix`  <sub>property</sub>

Greeting prefix used for future calls.

**Returns** — `System.String`

```csharp
public string Prefix { get; set; }
```

## Namespaces

### `Example`  <sub>namespace</sub>
