I.T. Discussion Community!
-Collapse +Expand
C#
Search C# Group:

Advanced
-Collapse +Expand C# To/From
To/FromCODEGuides
-Collapse +Expand C# Study Test
PRESTWOODCERTIFIED
-Collapse +Expand C# Store
PRESTWOODSTORE

Prestwood eMagazine

August Edition
Subscribe now! It's Free!
Enter your email:

   ► KB ►► ProgrammingC#   Print This    All Groups  

C# (Visual C# & VS.Net) Latest KB Comments

Ordered newest to oldest.

To view comments to your KB Articles, go to your My Knowledge Base page. To view user contributions to your blogs, go to your My Blog page.

Showing first 10. Sign in to see more.

Read +Add Comment
bobhoney
Posted 119 days ago
Regarding...
C# Multiple Line Comment (// or /* */)

Languages Focus: Comments

Commenting code generally has three purposes: to document your code, for psuedo coding prior to coding, and to embed compiler directives. Most languages support both a single line comment and a multiple line comment. Some languages also use comments to give instructions to the compiler or interpreter.

C# Multiple Line Comment

Commenting Code, C# uses "//" for a single line comment and /* */ for a multiple line comment.,
Read +Add Comment
This is my first time visit here. I read your post and found it quite interesting and Likewise fantastic blog here among many of the costly info you acquire.  :)
Posted 8 months ago
Regarding...
Get all components in an ASPX page recursively
Retrieves an array of all the components of any given type within a starter control (such as a page, table, panel, etc.)  This routine is recursive and will keep iterating down until all the embedded components are found. This C# code can be invoked to produce an array as  follows: CheckBox[] myCheckboxes = GetAllCheckboxes(Table1); ,
Read +Add Comment
how to integrate in Integrating Partial Rendering into an Existing. Project this is
Posted 8 months ago
Regarding...
Consuming an RSS feed in ASP.NET
Using this quickie code snippet, you can attach an ASP:Gridview  to an external RSS Feed. All you need to accomplish this is the URL of a usable feed.,
Read +Add Comment
admin is sleeping, post is too old for reply sealed
Posted 9 months ago
Regarding...
Changing the Trust Level in your ASP.NET Web Applications
To restrict what an ASP.NET application can and cannot access and to provide an additional level of application isolation in a hosted environment, access security can be used. You do this by configuring the element in the machine-level Web.config file located in the following folder: %windir%\Microsoft.NET\Framework\{version}\CONFIG.
Read +Add Comment
Getting Website Root Directory will be a good idea for all of us. We can get help in assignments with the help of this dictionary . I am going to share this blog with the readers and readers will understand it.
Posted 9 months ago
Regarding...
Getting Website Root Directory in C# ASP.NET
This code shows how to ask the webserver where the site's root directory is, and how to convert a relative path (like /Uploads) to the full filesystem path.  This will work across environments (i.e. Development/QA/Production).
Read +Add Comment
I am getting secruty exception in my hosted .net applicaiton. Can you please help to change trust level. --- Mayur
Posted 44 months ago
Regarding...
Changing the Trust Level in your ASP.NET Web Applications
To restrict what an ASP.NET application can and cannot access and to provide an additional level of application isolation in a hosted environment, access security can be used. You do this by configuring the element in the machine-level Web.config file located in the following folder: %windir%\Microsoft.NET\Framework\{version}\CONFIG.
Read +Add Comment
"self" keyword (in PHP) refers to the current class, while the "this" keyword refers to the current instance (object) of the class. The way you set your title (C# Self Keyword) is a bit misleading, because it assumes that self == this, which in practice it isn't. --- Mladen B.
Posted 57 months ago
Regarding...
C# Self Keyword (this)

C# Self Keyword

To refer to the current instance of a class, use the this keyword. The this keyword provides a way to refer to the specific instance in which the code is currently executing. It is particularly useful for passing information about the currently executing instance. The this keyword is also used as a modifier of the first parameter of an extension method. You cannot use this with static method functions because static methods do not belong to an object instance. If you try, you'll get an error.
Read +Add Comment
Gracias. Muy buen aporte. Saludos desde Salta Capital - Argentina --- Salta Capital
Posted 59 months ago
Regarding...
Get all components in an ASPX page recursively
Retrieves an array of all the components of any given type within a starter control (such as a page, table, panel, etc.)  This routine is recursive and will keep iterating down until all the embedded components are found. This C# code can be invoked to produce an array as  follows: CheckBox[] myCheckboxes = GetAllCheckboxes(Table1); ,
Read +Add Comment
help --- duong tien
Posted 7 years ago
Regarding...
C# Report Tools Overview
{Too Long!}
Read +Add Comment
Thank you to clear my concept of overriding. --- jatin arora
Posted 8 years ago
Regarding...
C# Overriding (virtual, override)

General Info: Method Overriding

Where you define or implement a virtual method in a parent class and then replace it in a descendant class. When you decide to declare a method as virtual, you are giving permission to derived classes to extend and override the method with their own implementation. You can have the extended method call the parent method's code too. In most OO languages you can also choose to hide a parent method. When you introduce a new implementation of the same named method with the same signature without overriding, you are hiding the parent method.

C# Overriding

In C#, you specify a virtual method with the virtual keyword in a parent class and extend (or replace) it in a descendant class using the override keyword. Use the base keyword in the descendant method to execute the code in the parent method, i.e. base.SomeMethod().
Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech