Skip to content

geektrust/csharp-array-with-an-integer-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

App

A simple C# console application that processes command-line instructions.


🚀 How to Run

1. Restore Dependencies

dotnet restore

2. Build the Project

dotnet build

3. Run the App

Pass commands as arguments inside quotes:

ddotnet run --project App -- "30, 10, 20 | 60"

✅ Each string represents a command and its arguments.


🧪 Run Tests

Unit tests are located in the App.Tests project.

dotnet test

🗂️ Project Structure

App.sln
├── App/              # Console app source code
│   └── Program.cs
│
├── App.Tests/        # xUnit test project
│   └── UnitTest1.cs
│
└── README.md         # This file

📌 Example Commands

30, 10, 20 | 60

🛠️ Implementation Notes

  • Commands are parsed in Program.cs → Handle(List<int> arr, int i).
  • Extend the Handle method to implement actual business logic.
  • State can be maintained via static dictionaries or service classes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages