Hi, I would like to know how to subtract total of each row in C# matrix from a magic constant number(example : 15) and sum the result, for example, here is my current matrix
...I have a requirement in my project, in which I need to sort the string which has alphanumeric data like below
...Hi, I have to find the repetition of number of occurence of an element in an array in c#, here is my current code for simple array
...Hi,please someone can give me link to learn about matrix (two dimensional array) in C# with exercises and solution. Thanks in advance.
...I have a string with numbers in it, for example here is the string "121 testing your City", now, I would like to extract only "121" from the string, how can I do that using C#?
...Hi, how can I get the common multiples of all element of array for example I have this array 2 4 3 . And I want to get the common multiples I do this code but not working. Can someone help me please. Thanks.
...I have been searching on it how to switch ORM using repository pattern, and i was not able to find "examples/sample codes" of it so i can study with that.
I believe my search keywords were wrong (ex. How to switch from EF to ADO.NET using Repo pattern and etc), thats why I can not find an article that talks about it.
Lets say we implement repository pattern with Entity Framework.
Is it repo pattern tightly coupled in Entity Framework? or
Do I need to create another Data Access Layer that talks for ADO.NET/or DAPPER/ Nhibernate?(for example)
Thanks in Advance.
...Hello, I would like to know how can I convert UTC datetime into local (user's pc) datetime in asp.net MVC razor page using C#?
I thought .ToLocalTime() should work, but I am not getting correct result.
...Hi please I'm converting 12-hour AM/PM format, to military 24-hour time format using C# Console app.
Note: Midnight is 12:00:00AM on a 12-hour clock, and 00:00:00 on a 24-hour clock. Noon is 12:00:00PM on a 12-hour clock, and 12:00:00 on a 24-hour clock.
My code is that :
...How to encrypt and decrypt a string in C#? I would like to know simplest and efficient way for this using some example if possible, thanks
...