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...
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...
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
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...
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])...
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...
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++)...
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...
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]...
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...
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...
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...
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)
{...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.