370 1
How do I create object for IQueryable in C#?

I am trying to create and Instantiate IQueryable<T> object in my C# MVC project, but I am not able to create it, I would like to use it instead of List<T> = new List<T>, so how can I do it? I am trying this

...
Type
Question
366 1
Hello World C# program with explanation of code
In this article, I have provided code to print hello world in C# using Visual Studio console application with explanation of code for beginners.
Type
Article
263 1
How to check if File exists in C#? (Inside folder)

I am trying to download a file from a url, and there are many files, but I don't want to download files that already exists in my drive. So I want to implement to check if file already exists in a folder using C#?

...
Type
Question
40 1
How can I get application root folder location in C# Console application?

I am creating a C# console application for some test project, in which I need to get Root folder location (application path) of project, for example, if my project is in "C:\Project\Program.cs", so i should get "C:\Project\" drive as root location. 

How can I get it using C# console application, in web-application we get it using Server.MapPath("~/") but I am not sure about console application.

...
Type
Question

Page 15 of 15