No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have entity instance(north) NorthdatabaseEntity north = new NorthdatabaseEntity(). The problem is that i don't have access to ObjectContext methods.I tried to call them with object "north" but i didn't found the method "AddObject" or any other from ObjectContext. I thought that any entity object has all methods from ObjectContext … |
|
How List.Sort() indecates where the salaries in the list will be ordered and how to be ordered (asc or desc)? using System; using System.Collections.Generic; class Employee : IComparable<Employee> { public int Salary { get; set; } public string Name { get; set; } public int CompareTo(Employee other) { // Alphabetic … |
|
How can I use class from different solution in other class in other solution? |
|
I want to ask how to reverse for example number 11 (which is 1011 in binary numeral system) to reversed number which is equal to 13 (which is 1101 in binary numeral system). I was searching in google but i didn't find anything helpful and simple to understand. If anyone … |
|
Hello everyone, I have task "Write a program that calculates N!/K! for given N and K (1<N<K)." I want to ask is this the right solution ? using System; class NandKFactorials { public static double fact(double x) { double result = 1; for (int i = 1; i <= x; … |
|
1.I need someone to check if the program i wrote is correct. "Write a program to calculate the sum (with accuracy of 0.001): 1 + 1/2 - 1/3 + 1/4 - 1/5 + ..." -> The code of the task is below. 2.I have one more question for example if … |
|
Hello everyone i need help with this task : "Write an expression that checks for given integer if its third digit (right-to-left) is 7. E. g. 1732 -> true" |