csharp

  1. A

    Question How to create excel sheet with multiple sheet name based on modules ?

    I work on c# desktop app I cannot export data to excel sheet with multiple tab meaning multi sheet based on data exist on data table module field I use open XML library Data table data as below : Divide Output Excel File To Multi Tab based On Module PartId Company Files Tab Module 1222...
  2. M

    Answered Publish .NET Framework on Azure Still Possible?

    I've been trying to launch a .NET Framework web application to Azure, and I can't seem to get it. Every tutorial out there is using, or pushing .NET Core. This is a basic application using C#, .NET Framework 4.7.2 MVC, and connecting to some REST APIs. 1. When deploying .NET Framework app, do...
  3. I

    Is "sealed" necessary and when?

    Hi, everybody. This operator is used so that it cannot be inherited from the class. But in the example of Unity, they had the Application class "sealed", and then in the new versions they just made the class Application. As I understand it, they did so that they could extend the Application...
  4. F

    Question Parallel class to modify flickrviewer app

    You are asked to use Parallel class to modify FlickrViewer app by adding image resizing functionality. More specifically, resize found image(s) and save these resized image locally. You can find the details about how to resize the image from Basic Image Manipulation in C# Here is the link to...
  5. Duvyanshu

    Answered Why am I unable to locate font files(.ttf) in unity android game in persistentDataPath?

    Can somebody guide me in the right direction? My android game that I made on unity 2018.4.9 using C# on VS 2017 is unable to detect files at persistent data path. The two font files are located in the persistent data path directory. This is a screenshot of app persistent data folder. This is...
  6. T

    Debug-Only Code Without Duplication

    I'm trying to write something similar to the existing Debug class that allows clients to explicitly verify pre- and post-conditions of their methods. For example, to check a precondition that the input variable to a method is not equal to 0, one would use Expects.IsGreaterThan(input, 0), and...
  7. D

    Tip Free Tool for learning C# concepts and vocabulary

    I’ve uploaded an Excel workbook of mine to Google Drive that serves a couple of purposes that I believe you'll find useful. 1. It currently lists 726 terms that have some correlation to C#. It's a glossary of sorts with embedded links that lead you to that specific term. It covers all the C#...
  8. J

    Azure SDK for .NET: Story about a Difficult Error Search

    When the PVS-Studio team decided to search for errors in the Azure SDK for .NET project, they were pleasantly surprised by its size. “Three and a half million lines of code,” they kept saying, studying the project’s statistics. There might be so many findings. Alas and alack! The project turned...
  9. D

    Is anyone here using C# for Data Analysis?

    Hello, I was wondering if anyone here using C#/.NET for data analysis ? i would like to hear their best practices. I know there are some more popular (or better?) options like Python or R out there but i would like to use C# to improve my knowledge on that more instead of learning something...
  10. smokereaper98

    unity slide to resize square

    lets say i have a square 2x2. when i slide my finger upwards i want it to get bigger in the Y axes and smaller in the x axes..and when i slide my finger down i want it to get smaller in Y and bigger in X. i have some code but i dont like how it works. can someone help me to create something better?
  11. S

    Why Core CLR doesn't have C# sources?

    Hello all! Why not Core CLR fully implemented in C#?
  12. A

    How to solve problem of msvsmon.exe .net debug ?

    I work on asp.net core 2.2 I make project with asp.net core 2.2 connected to SQL server 2014 . I already install remote debugger tool on server I also install visual studio on server 2017 when make remote debug on server I get error unable to connect to Microsoft visual studio remote...
  13. A

    Question Cannot modify function GetSelectStatement to generate select statement from string json?

    I work on csharp and i need to generate select statement based on inner join select statement but i cannot modify it I need to get fields and keys and table to generate inner join select statement as below : select FooterTable.ItemCode,FooterTable.Quantity,FooterTable.UniPrice from MasterTable...
  14. A

    Question How to Generate json string for function FillGrids ?

    I have windows form functions FillGrids and i need to convert to json format string private static void FillGrids(Control.ControlCollection Controls, xForm frm) { foreach (Control co in Controls) { if (co is xDataGrid &&...
  15. JagpalS

    Abstraction Vs Encapsulation

    I very confused in Abstraction Vs Encapsulation, every explains theoretically different, but i am looking something more practical explanation. As per my understanding if i am creating a method so whatever code i write inside it ,its called encapsulation and if i declare it as private or public...
  16. A

    Question When Success Valid Access Token Not Return Result And Return Invalid ?

    I validate token using middle ware in asp.net core 2.2 in case of access token not valid return message not valid and this case work perfect problem come when valid token success the problem is next request no give me result of action executed so that what i do for that working problem is when...
  17. S

    Question I want my WPF program uses user's cookie

    so basically I want my 3rd party program (which will be created using c# on WPF) be an interface between the user and that site. Using WebBrowser class I wanna load the login page and after the user logged in(and passed CAPTCHA), he/she will fill some fields in the program, and the program will...
  18. N

    Question error: System.FormatException: 'Input string was not in a correct format

    I am getting a error when trying to create a Form that will randomly display 3 values of 3 Dice for 2 players and will compare the numbers and displays who won. The is running great but it started show me an error after I put the IF statement. The code runs but it returns the error when I click...
  19. A

    what i write inside loop to display similar item code on datagridview and insert diff

    Problem what i write inside loop to display similar item code on datagridview and insert different itemcode on database sql serverSQL Server Database(2014) Items Table ItemCode(pk) ItemName 001 mouse 002 keyboard 003...
  20. C

    Question BackgroundWorker. How do I display the current process by navigating through the Tree

    Scenario_1. 1. The user. Presses the "Start" button; 2. The program. Creates an instance of the user element "ucBackgroundWorker" in "flowLayoutPanel1"; 3. The program. Creates a node in the "treeView1"; "Scenario_1" can be repeated an unlimited number of times. Scenario_2. There are: - Several...
Back
Top Bottom