Search results for query: *

  • Users: Sajo
  • Order by date
  1. Sajo

    Question Object Relational Designer does not create entity classes

    Okay, thank you very much. I will start with learning Entity Framework.
  2. Sajo

    Question Object Relational Designer does not create entity classes

    Hello. I am using Object Relational Designer because I am working with LINQ to SQL. I am using NORTHWND database. I want that Object Relational Designer create entity class for table which I drag to entitites part. For example I drag Employees table to entities part but it does not create entity...
  3. Sajo

    Problem with configuration file

    No, the database name is NORTHWND.
  4. Sajo

    Problem with configuration file

    I want to create a connection to the server. The base is called NORTHWND. I wanted to create a connection using a configuration file. I created a configuration file. I want to get information about the version of the server I am using through the console application. However when I run the code...
  5. Sajo

    Resolved What an exception class should contain?

    Okay thank you very much, you helped me a lot
  6. Sajo

    Resolved What an exception class should contain?

    I am currently learning to create my own exception class and am wondering what my exception class should contain? It confuses me a lot. If anyone can give me an example. I need help urgently
  7. Sajo

    Why I should sort elements before using foreach loop in c# ?

    Hello. I read somewhere that before using foreach loop for list elements it is necessary to use the List.Sort method to sort them before using foreach. For example, to print the elements of a list, we need to use this method first, and then the foreach cycle. My question is: why do we have to...
  8. Sajo

    Resolved How to find the smallest element in a matrix and the row in which that element is located?

    Hahahhahaha I did it. Here is the code. I solved the problem. int small = c[0 ,0]; int smallmonth = 0; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { if (small > c[i, j])...
  9. Sajo

    Resolved How to find the smallest element in a matrix and the row in which that element is located?

    But which variable I should use then? And i is for number of months.
  10. Sajo

    How to calculate determinant of n x n matrix?

    Yes but I am interested in making a program where the user enters an arbitrary number of rows and columns of the matrix and then the numbers of that matrix and then calculates the determinant of that matrix. I would create these steps myself to know the exact number of columns and rows. But this...
  11. Sajo

    Resolved How to find the smallest element in a matrix and the row in which that element is located?

    I assign that current row index but it is always zero Here is the code int small = c[0 ,0]; //n is number of months int[] b = new int[n]; int smallrow = b[0]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++)...
  12. Sajo

    Resolved How to find the smallest element in a matrix and the row in which that element is located?

    Hello everybody. I have problem with the task. The task is:" Write a C # program that loads the value of manufactured goods in m manufacturing sectors from users over n months and then determines and prints the month in which productivity was lowest." I realized that productivity is lowest in...
  13. Sajo

    How to calculate determinant of n x n matrix?

    Hello everybody. I create n x n matrix where I must calculate determinant but I don´t know how. Please can you help me? Here is code of my matrix Console.WriteLine("Enter number of rows and columns in your matrix"); int n = int.Parse(Console.ReadLine()); int[,] l = new int[n, n]...
  14. Sajo

    Question Does anyone have a different proposal for solving the task?

    Hello everyone. I solved the task correctly. What worries me is whether my solution takes up too much memory. In case anyone knows a better solution please write. I am currently studying complex conditions and conditional statements. Here is the text of task. Here is example (Sorry for writing...
  15. Sajo

    Resolved Problem with verbatim string

    Hahaha I am beginner in all of this. I watch the course for CSharp so this was example on my course. The lecturer said that in this way I can get doubles backslashes. I tried his way and I could not got that . Lecturer does not explained verbatim string very well. Thank you so much guys. You...
  16. Sajo

    Resolved Problem with verbatim string

    Hello everybody! I have a problem with verbatim string. I want to write this "c:\\projects\\project1\\enter" I use verbatim string for that. But when I run console it always display me c:\projects\project1\enter. I want to write code which is easier to read. I want double backslash not just one...
  17. Sajo

    doesn't want to run code?

    Hello everybody! I am beginner in C# and i have problem with my code. I don't see where is the problem but it doesn't want to run code. Please can you help me? using System; using System.Threading; namespace Sajo_vježba { class Program { static void Main(string[] args) {...
Back
Top Bottom