senthilmcan-dotnet.blogspot.com
Visual Studio Dot .Net: Overriding Vs Shadowing
http://senthilmcan-dotnet.blogspot.com/2014/12/overriding-vs-shadowing.html
Visual Studio Dot .Net. Sunday, December 28, 2014. 8220;Base Class”. 8220;Child Class”. A method cannot be overriden if:. Methods have a different return type. Methods have a different access modifier. Methods have a different parameter type or order. Methods are non virtual or static. ChildClass c = new. Console.WriteLine(c.GetMethodOwnerName() ;. If we do not use the new keyword the compiler generates the warning:. Mixing Method (Overriding and shadowing (Method Hiding). Shadowing redefines an entire m...
senthilmcan-dotnet.blogspot.com
Visual Studio Dot .Net: September 2009
http://senthilmcan-dotnet.blogspot.com/2009_09_01_archive.html
Visual Studio Dot .Net. Thursday, September 10, 2009. Permitted and Not permitted class combinations. Public class AClass Z : BClass Y. Public class YClass: ZClass T. Http:/ shiman.wordpress.com/2008/07/15/c-net-generics-inheritance/. Posted by Senthilkumar Nainamalai. A sealed class is a class that does not allow inheritance. Some object model designs need to allow the creation of new instances but not inheritance, if this is the case, the class should be declared as sealed. Indicates that a class is to...
senthilmcan-dotnet.blogspot.com
Visual Studio Dot .Net: November 2014
http://senthilmcan-dotnet.blogspot.com/2014_11_01_archive.html
Visual Studio Dot .Net. Tuesday, November 18, 2014. Socket Keep Alive IOControlCode Enumeration. Using IOControl code to configue socket KeepAliveValues for line disconnection detection (because default is toooo slow). One option is to use TCP keep alive packets. You turn them on with a call to. Only annoying bit is that it takes a byte array as input, so you have to convert your data to an array of bytes to pass in. Here's an example using a 10000ms keep alive with a 1000ms retry:. RetryInterval = 1000;.
senthilmcan-dotnet.blogspot.com
Visual Studio Dot .Net: Difference between Array and Arraylist
http://senthilmcan-dotnet.blogspot.com/2015/01/difference-between-array-and-arraylist.html
Visual Studio Dot .Net. Friday, January 9, 2015. Difference between Array and Arraylist. Arrays are strongly typed collection of same datatype and these arrays are fixed length that cannot be changed during runtime. Generally in arrays we will store values with index basis that will start with zero. If we want to access values from arrays we need to pass index values. Generally we will declare arrays with fixed length and store values like as shown below. Strarr.Add(10); / Add integer values. Arraylist b...
senthilmcan-dotnet.blogspot.com
Visual Studio Dot .Net: February 2010
http://senthilmcan-dotnet.blogspot.com/2010_02_01_archive.html
Visual Studio Dot .Net. Thursday, February 11, 2010. Use an alias for a namespace or class. Use the using directive to create an alias for a long namespace or class. You can then use it anywhere you normally would have used that class or namespace. The using alias has a scope within the namespace you declare it in. Using act = System.Runtime.Remoting.Activation;. Using list = System.Collections.ArrayList;. List l = new list(); / Creates an ArrayList. Posted by Senthilkumar Nainamalai. If you don't specif...
senthilmcan-dotnet.blogspot.com
Visual Studio Dot .Net: December 2014
http://senthilmcan-dotnet.blogspot.com/2014_12_01_archive.html
Visual Studio Dot .Net. Monday, December 29, 2014. Posted by Senthilkumar Nainamalai. Http handler, http modules. Posted by Senthilkumar Nainamalai. Sunday, December 28, 2014. Error-The best overloaded method match for '.Calculate(double, int)' has some invalid arguments. Error-Argument 2: cannot convert from 'double' to 'float'. Calculate(2.5, 2.5);/ / Invalid. Error-The call is ambiguous between the following methods or properties: 'Calculate(int, double)' and 'Calculate(double, int)'. We can also use ...
senthilmcan-dotnet.blogspot.com
Visual Studio Dot .Net: December 2009
http://senthilmcan-dotnet.blogspot.com/2009_12_01_archive.html
Visual Studio Dot .Net. Friday, December 11, 2009. Regular expressions is the term used for a codified method of searching invented. By the American mathematician Stephen Kleene. The syntax (language format) described is compliant with extended regular expressions (EREs). Defined in IEEE POSIX 1003.2 (Section 2.8). EREs. Will support Basic Regular Expressions. Is any character we use in a search or matching expression, for example, to find ind. The string we want to find. And are NOT used as literals.
senthilmcan-dotnet.blogspot.com
Visual Studio Dot .Net: What is the role of inetinfo.exe, aspnet_isapi.dll and aspnet_wp.exe?
http://senthilmcan-dotnet.blogspot.com/2015/01/what-is-role-of-inetinfoexe.html
Visual Studio Dot .Net. Wednesday, January 7, 2015. What is the role of inetinfo.exe, aspnet isapi.dll and aspnet wp.exe? Http:/ www.west-wind.com/presentations/howaspnetworks/howaspnetworks.asp. Posted by Senthilkumar Nainamalai. Subscribe to: Post Comments (Atom). Why Net does not support multiple inheritance? What is the role of inetinfo.exe, aspnet isapi.dll. Difference between Array and Arraylist.
senthilmcan-os.blogspot.com
Operating System: Memory Allocation
http://senthilmcan-os.blogspot.com/2009/08/memory-allocation_27.html
Thursday, August 27, 2009. I,j,s[10],s1[10],m,n,t,a[10],ch;. Printf( " n n t tMEMORY. Printf( " n t t ". Printf( " n nEnter. The no of slots:". I=1;i =n;i ). The slot %d size:". I=1;i =n;i ). J=1;j =n;j ). Printf( " n nSelect. Printf( " n t1. First Bit. n t2. Best Bit. n t3. Worst Bit. n t4. Exit". Printf( " n tFIRST BIT ALLOCATION". Printf( " n t ". I=1;i =n;i ). Printf( " nThe first bit memory. Allocation in slot = %d". Printf( " n tBEST BIT ALLOCATION". Printf( " n t ". I=1;i =n;i ). Printf( " n t ".
senthilmcan-c.blogspot.com
Programming Language (C, C++): Quadratic Equation
http://senthilmcan-c.blogspot.com/2009/08/quadratic-equation.html
Programming Language (C, C ). Thursday, August 27, 2009. X=(-b( or-sqrt(b 2-(4*a*c) )/(2*a). Float x1,x2;. Printf("Enter Value for A,B,C : ");. Scanf("%d%d%d",&a,&b,&c);. Printf("Roots are Real and Unequal");. Printf("Roots are Real and Imaginary");. Printf("Roots are Real And Equal");. Printf(" n tX1 = %.2f",x1);. Printf(" n tX2 = %.2f",x2);. Enter Value for A,B,C : 2 3 4. Roots are Real and Imaginary. X1 = 0.00. X2 = 1.20. Posted by Senthilkumar Nainamalai. Subscribe to: Post Comments (Atom).