Hi!
I have been assigned to develop a CRM (Customer Relationship Management) Web application using the following: Visual Studio 2005, C# 2.0, ASP .NET 2.0, and SQL Server 2005.
What are the dos and don’ts with respect to making the application a truly enterprise-wide system?
Here’s a brief synopsis of the application:
Customer Relationship Management (CRM) is an enterprise-wide software application...
User Profile
Collapse
-
C#, static method, using constructor call
Please consider the following two cases and explain to me the difference in output:
Consider Case 1:
using System;
class MyClass
{
static int s;
static int i;
public MyClass(int a, int b)
{
s = a;
i = b;
}
public static int myMethod()
{
return s * i;
... -
Thank you very much indeed! -
Cool! I got it.
But why is the output:
5
5
different when compiled without the FlagsAttribute [Flags]?Leave a comment:
-
C#, using the FlagsAttribute on enumerations
Please explain to me the following C# program, which I came across in MSDN help:
// enumFlags.cs
// Using the FlagsAttribute on enumerations.
using System;
[Flags]
public enum CarOptions
{
SunRoof = 0x01,
Spoiler = 0x02,
FogLights = 0x04,
TintedWindows = 0x08,
}
class FlagTest
{
static void Main()
... -
-
C# Types
In C#, what is the size and range (on 32-bit and 64-bit platform) of the built-in reference types: string and object; user-defined reference types: class, interface, delegate and array; and user-defined value types: enum and struct?
Further, is DateTime a value type or reference type and what is its size and range (on 32-bit and 64-bit platform)?
Lastly, like VB .NET, does the size of built-in value type: bool, depend... -
-
In C#, what is the difference between "\0", '\0' and null?
Consider,
[code=cpp]
using System;
class MainClass
{
static void Main()
{
object[] ob = new object[12];
for(int i=0; i<3; i++)
ob[i] = i;
for(int i=3; i<6; i++)
ob[i] = (int)i/2;
ob[6] = "string";
ob[7] = 'c';
... -
rajanipro started a topic How to invoke base class static method hidden by inheritance, using derived class?in .NETHow to invoke base class static method hidden by inheritance, using derived class?
Hi buddies!
Can you tell me how to invoke base class static method hidden by inheritance, using derived class as in the following case?
using System;
class ParentClass
{
public static int i;
public static void showMethod()
{
Console.WriteLi ne("The value of i in ParentClass is = " + i);
}
}
class...
No activity results to display
Show More
Leave a comment: