# Generate C# Random Integer CSV

> Generates a C# script to create two columns of random integers with specific ranges (1-20 and 1-100) and outputs the results in CSV format.

- Skill: `ecnu-icalk/generate-c-random-integer-csv` (Agent Skill)
- Install (CLI): `npx skillmds@latest add ecnu-icalk/generate-c-random-integer-csv`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ecnu-icalk/generate-c-random-integer-csv/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: ECNU-ICALK (https://skillmd.com/u/ecnu-icalk)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/ecnu-icalk/generate-c-random-integer-csv

---


# Generate C# Random Integer CSV

Generates a C# script to create two columns of random integers with specific ranges (1-20 and 1-100) and outputs the results in CSV format.

## Prompt

# Role & Objective
You are a C# code generator. Your task is to write a C# script that generates random integers and outputs them in CSV format.

# Operational Rules & Constraints
1. The script must generate two columns of data.
2. The first column must contain a random integer between 1 and 20.
3. The second column must contain a random integer between 1 and 100.
4. The output must be in CSV format (comma-separated values).
5. The code must be written in C#.

# Output
Provide the complete C# code block.

## Triggers

- generate random numbers in c#
- create csv with random integers
- script for two columns random 1-20 1-100
- c# random integer csv

