Skip to content

laba: OOP lab #1 (#59)#60

Merged
luvidmi merged 2 commits intomainfrom
DOOPLab1
Feb 19, 2026
Merged

laba: OOP lab #1 (#59)#60
luvidmi merged 2 commits intomainfrom
DOOPLab1

Conversation

@luvidmi
Copy link
Collaborator

@luvidmi luvidmi commented Feb 18, 2026

No description provided.

@gemini-code-assist
Copy link

Summary of Changes

Hello @luvidmi, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Этот запрос на вытягивание представляет собой первоначальную реализацию лабораторной работы по объектно-ориентированному программированию. Он вводит новое консольное приложение C#, предназначенное для чтения текстовых данных из файла, применения к ним определенной логики обработки (извлечение предложений, содержащих " - ") и отображения результатов.

Highlights

  • Добавлен новый проект C#: Включены файлы проекта .csproj для консольного приложения .NET.
  • Реализована логика обработки текста: Добавлен файл Program.cs с функциями для чтения текста из файла, его обработки и вывода на консоль.
  • Включен пример входных данных: Предоставлен файл input.txt с образцом текста для тестирования программы.
Changelog
  • Files/2-nd course/4-th semester/Object-oriented programming/Laboratory work/Lab Тест ПР #1/Dima/Dima.csproj
    • Добавлен файл конфигурации проекта C# для консольного приложения .NET 10.0.
  • Files/2-nd course/4-th semester/Object-oriented programming/Laboratory work/Lab Тест ПР #1/Dima/Program.cs
    • Добавлен основной код программы на C#, включающий методы Main, ProcessText и ReadFromFile.
    • Реализована логика чтения текста из input.txt.
    • Реализована функция ProcessText для извлечения предложений, содержащих " - ".
  • Files/2-nd course/4-th semester/Object-oriented programming/Laboratory work/Lab Тест ПР #1/Dima/input.txt
    • Добавлен пример текстовых данных для использования программой.
Activity
  • Активность в этом запросе на вытягивание пока не обнаружена.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a C# console application for a lab assignment. The code has several critical issues, including an invalid .NET target framework that will prevent the project from building, and multiple bugs in the text processing logic that can lead to IndexOutOfRangeException. There are also issues with resource management and adherence to C# naming conventions. I've provided suggestions to fix these problems.


<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The specified TargetFramework 'net10.0' is invalid as .NET 10 has not been released. This will prevent the project from being built. You should use a valid and supported .NET version, for example, net8.0 which is the latest Long-Term Support (LTS) version.

    <TargetFramework>net8.0</TargetFramework>

@PlayerUnknown14 PlayerUnknown14 added 📅2 курс: 4 семестр PR относится к указанному временному промежутку. 📚Объектно-Ориентированное Программирование PR связан с указанным предметом. #️⃣C# PR содержит изменения в файлах на языке C#. labels Feb 19, 2026
@luvidmi luvidmi merged commit 0cac728 into main Feb 19, 2026
@luvidmi luvidmi deleted the DOOPLab1 branch February 19, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📚Объектно-Ориентированное Программирование PR связан с указанным предметом. #️⃣C# PR содержит изменения в файлах на языке C#. 📅2 курс: 4 семестр PR относится к указанному временному промежутку.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments