At the moment I am studying c # on Shildt. All the tasks for the practical consolidation of the read theory I was looking for on the Internet. He took assignments from the laboratory, manuals, various literature. Now I go to topics for which there is little to be found. I think the way out in such a situation is to start writing your own program, educational project. After reading a certain chapter in a Shield, try to implement the theory you read in your program. Only I can not think of what to write. At the moment, I am familiar with cycles, arrays, classes, inheritance, interfaces, abstract classes, indexers and properties, exceptions, console I / O in c #. Throw, please, a couple of options which program you can start writing and then gradually implement the theory of the Schildt in the program as you read it. The program should be a console.
Closed due to the fact that it is necessary to reformulate the question so that it was possible to give an objectively correct answer by the participants of Grundy , Alexander Petrov , PashaPash ♦ 17 Oct '16 at 18:21 .
The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .
- onelearn UI and write a calculator, isn't it obvious: DDD Well, if you want something more serious, you can write a simple text editor. First, unpretentious, and then, of course, you can extend the functional to infinity. In the context of console applications - except for some kind of math or, for example, a database wrapper doesn’t fit into my head. Although you can implement the same calculator, and then, when you learn the UI - finish the code. - Zowie
- @AlexWindHope but what about console text editors or are there players? If it were not for pure C #, then one could try to write some kind of wrapper over the same mpd (like ncmpcpp). - VioLet
- IMHO the world's best console editor has already been written, I would not be interested =) - Zowie
- Here train: habrahabr.ru/post/312278 and tasks and debriefing - Lutsa
4 answers
- Write a program that defines in what encoding the Russian text in the file.
- A program that builds a table of definition / function call for a program from several C # files.
- A set of client-server programs that determine the performance of a network connection.
- Approximately the same for files (substantially different sizes) on different disks.
- For entertainment - the program prints its own text (of course not its source file).
Enough for a start.
I would now pay attention to algorithms from elementary number theory and sorting algorithms . By completing tasks from these sections, firstly, you gain some experience in programming and thinking as a whole, and secondly, you fix the learned syntax of the language and its features.
But actually a small idea: you can make an application for sorting arrays by various algorithms. In the console you can make a simple menu. First, you make a base class (or interface) that has a sorting method. Then, inheriting this class, you implement different algorithms (inheritance + polymorphism). Then, since you have a console I / O, make sure that users cannot break your program (exception handling).
And when you reach generalizations, you can improve your program.
- 1. What type of data should the array work with? Can everything be stored in rows? - ArniLand
- Let for the beginning store integers, because their comparison is a trivial task. If you sort the lines, you can use different comparison criteria: length, alphabet (case-insensitive and without). - Shad
I study in Poland myself, at our institute they gave us to write games on Xi, a copy of total commandera (basic functionality), Polish-English dictionaries and vice versa with addition to the database (textual), searchable, with number of views, and reversible translation, also a library of books, a very common project, hone on it the knowledge of classes and all that is associated with them.
We did it on C.Vyvod? In C #, you must implement a MORE complex functionality. Write your file manager with a functionality greater than just editing files, adding, creating, deleting. Add FTP work.
Or write a simple console RPG game, it is real and very interesting, + develops brains and thinking. And after you refine the project as you learn the language, although as I understand you already have a solid base, you just need to hone your knowledge.
In general, I really love C # ^ _ ^. True, I liked the Andrew Troelsen book more.
- cześć) the question is off topic, so excuse me ... GenchiK, can you tell me if it is possible in Poland where to get a job for a student for 4-5 months ... Gain experience so to speak) There is programming experience in pascal, Delphi, C, I am teaching C # now, I'm friends with photoshop, I have good knowledge in the WEB direction (cms, php, javascript) ... - Timi
- Hello, hello!) Let's talk there: tt.gg.1986@mail.ru or according to ace 422-041-923 - Gena Ant
I started with resampling algorithms using Newton polynomials. The user enters readings from the console, then enters a new number of readings, the program recounts and displays.