Saturday, November 26, 2022

Lambda expression

good introduction on Lamda expression.

  1. Lambda expressions (C# reference)
  2. You use a lambda expression to create an anonymous function. Use the lambda declaration operator => to separate the lambda's parameter list from its body. A lambda expression can be of any of the following two forms:

    1. Expression lambda that has an expression as its body:
    2. (input-parameters) => expression

      You can use lambda expressions in any code that requires instances of delegate types or expression trees, for example as an argument to the Task.Run(Action) method to pass the code that should be executed in the background. You can also use lambda expressions when you write LINQ in C#, as the following example shows:

      Expression lambdas A lambda expression with an expression on the right side of the => operator is called an expression lambda. An expression lambda returns the result of the expression and takes the following basic form:

      (input-parameters) => expression

    3. Statement lambda that has a statement block as its body:
    4. (input-parameters) =>; { <sequence-of-statements > }

    5. Statement lambdas A statement lambda resembles an expression lambda except that its statements are enclosed in braces:

      (input-parameters) => { <sequence-of-statements > }

      The body of a statement lambda can consist of any number of statements; however, in practice there are typically no more than two or three.

    6. Input parameters of a lambda expression You enclose input parameters of a lambda expression in parentheses. Specify zero input parameters with empty parentheses:

      Action line = ( ) => Console.WriteLine();

      If a lambda expression has only one input parameter, parentheses are optional:

      Func <double, double > cube = x => x * x * x;

      Two or more input parameters are separated by commas:

      Func <int, int, bool > testForEquality = (x, y) => x == y;

      Sometimes the compiler can't infer the types of input parameters. You can specify the types explicitly as shown in the following example:

      Func <int, string, bool > isTooLong = (int x, string s) => s.Length > x;

      Input parameter types must be all explicit or all implicit; otherwise, a CS0748 compiler error occurs.

  3. => operator (C# reference)
  4. The => token is supported in two forms: as the lambda operator and as a separator of a member name and the member implementation in an expression body definition.

    Lambda operator In lambda expressions, the lambda operator => separates the input parameters on the left side from the lambda body on the right side.

    Expression body definition An expression body definition has the following general syntax:

    member => expression;

    Operator overloadability The => operator cannot be overloaded.

  5. Expression-bodied members (C# programming guide)
  6. Expression body definitions let you provide a member's implementation in a very concise, readable form. You can use an expression body definition whenever the logic for any supported member, such as a method or property, consists of a single expression. An expression body definition has the following general syntax:

    member => expression;

Friday, November 25, 2022

CandlesStick Pattern

CandlesStick Pattern

  1. Stock Indicators for .NET
  2. Stock Indicators for .NET is a C# library package that produces financial market technical indicators. Send in historical price quotes and get back desired indicators such as moving averages, Relative Strength Index, Stochastic Oscillator, Parabolic SAR, etc. Nothing more.

  3. DaveSkender/Stock.Indicators
  4. offical site

    Good Patterns

  5. Doji family of candlestick patterns #734
  6. Community discussion about the Doji family of candlestick patterns Doji Morning star Evening star Long-legged Gravestone Dragonfly Takuri

  7. Takuri Line
  8. Check our CandleScanner software and start trading candlestick patterns!

  9. Patterns Dictionary
  10. This section is devoted to providing descriptions and information on candlestick patterns, together with comment on their effectiveness. We recommend also to check our Chart School.

  11. Charting School
  12. Candle patterns are very interesting for traders due to their simplicity, elegance and natural interpretation of market sentiment. No matter how markets evolve, “patterns” will appear on the charts. Essentially, the core premise, and assumption, underlying the application of technical analysis is that such patterns are repetitive and detectable. Technical analysis is widely employed in various financial markets, informing traders about the non-fundamental determinants of price, in other words, “market sentiment.”

Monday, November 14, 2022

VHO:backdoor.MSIL.convagent.gen

VHO:backdoor.MSIL.convagent.gen

in windows Form application

  1. C# Application Detected By Kaspersky As Trojan Virus (VHO:Trojan.MSIL.Convagent.gen)
  2. I developped a C# winform application to import rows from firebird db when compile i have a message from vstudio that can't access to .exe file then an alert message from kaspersky to notice me from an trojan

  3. VHO:Backdoor.MSIL.Convagent
  4. VHO:Backdoor.MSIL.Convagent

  5. Trojan:MSIL/Convagent!mclg
  6. Trojan:MSIL/Convagent!mclg

  7. C# Application Detected By Kaspersky As Trojan Virus (Vho:Trojan.Msil.Convagent.Gen)
  8. Disinfect the operating system. Kaspersky Rescue Disk 2018 is a free bootable disk for detecting and eliminating threats that interfere with the work of the.

  9. Problem When building Visual Basic Project in Visual Studio 2019
  10. Problem When building Visual Basic Project in Visual Studio 2019

  11. [SOLVED]-C# APPLICATION DETECTED BY KASPERSKY AS TROJAN VIRUS (VHO:TROJAN.MSIL.CONVAGENT.GEN)-C#
  12. [SOLVED]-C# APPLICATION DETECTED BY KASPERSKY AS TROJAN VIRUS (VHO:TROJAN.MSIL.CONVAGENT.GEN)-C#

  13. How to Remove Trojan:Win32/CoinMiner Virus Manually ( SYS64/Starter.exe and Driver.exe )
  14. How to Remove Trojan:Win32/CoinMiner Virus Manually ( SYS64/Starter.exe and Driver.exe )

Friday, November 11, 2022

C# 6.0 new features

C# 6.0 new features

  1. 5 features that make C# 6 / 7 more fun
  2. C# is a language that has really evolved over the years and is now the standard bearer for all the platforms that use the .Net runtime. From its origins as a rival to Java in the area of enterprise software development .Net itself seems to be changing from its origins of one runtime with many languages to one language that runs on every platform. Fortunately the last 2 versions of the language have seen some really nice additions to the syntax that make the code more expressive, terse and maintainable.

  3. C# Version History
  4. very good summary. need to read them all...

    C# was first introduced with .NET Framework 1.0 in the year 2002 and evolved much since then. The following table lists important features introduced in each version of C#:

  5. C# 6.0 What's New
  6. Abstract: C# 6.0 introduces a number of new features that will make it easier for developers to avoid boilerplate code. We also have a new compiler technology called "Roslyn" which allows us hook in” to the compiler and modify certain behavior as our programs compile.

  7. Top 10 new features of C#6.0
  8. In this article, we will learn top 10 new features of C# 6.0.

  9. What's New in C# 6.0
  10. C# 6.0. features walkthrough with easy to understand examples.

  11. Change The Default Value of Boolean
  12. I'm writing an application, where I have quite a lot Properties of Type Boolean defined:

  13. What is new in C# 6.0?
    1. ­Auto-property Enhancements
    2. ­Primary Constructors (dropped)
    3. ­Expressions as Function Body
    4. ­Using Static
    5. ­Exception Filters
    6. ­Declaration Expressions (inline declarations)
    7. ­Nameof Expressions
    8. ­Null-conditional Operators
    9. ­Index Initializers
    10. ­Await in catch/finally
    11. ­Not Implemented, Yet

  14. C# : The New and Improved C# 6.0
  15. Although C# 6.0 isn’t yet complete, it’s at a point now where the features are close to being finalized. There have been a number of changes and improvements made to C# 6.0 in the CTP3 release of the next version of Visual Studio, code-named “14,” since the May 2014 article, “A C# 6.0 Language Preview”

  16. List of All New Features in C# 6.0: Part 1
  17. Microsoft has announced some new keywords and some new behavior of C# 6.0 in Visual Studio 2015.

  18. C# 6 features
  19. Changes presented in C# 6.0 are not particularly exceptional, however, the main goal in this version was to simplify your code, so most of the new features are intended to provide more intuitive syntax. All new features of C# 6 require the C# 6.0 compiler but it’s important to notice that all of them don’t require any specific version .NET Framework – because all features are implemented in the compiler and don’t depend on .NET Framework.

  20. New Features in C# 6.0
  21. This post covers what are the new language features in C# 6.0. Also a new compiler has been introduced code name “Roslyn”. The compiler source code is open source and can be downloaded at the Codeplex site from the following link https://roslyn.codeplex.com/.

  22. The Top 10 Best New Features in C# Version 6 to 9, by Chris Klug
  23. There are a lot of cool and usable new features being added to C#. However, way too many of us are too busy building stuff, and fixing/creating bugs, to have the time to sit down and take it all in. So why not let Chris Klug walk you through his top 10 new features that have been added in C# version 6 to 9?

  24. What's New in C# 6.0
  25. C# 6 adds a lot of small but useful language features to remove boilerplate and clean up your code. This video takes you on a whirlwind tour through all the new language constructs

  26. New Features In C# 6.0 | What's New in C# 6? | C# New Features
  27. In this video, you will learn new features of C# 6.0 in Visual Studio 2015 Preview, with examples. Which covers the following features:

  28. C# 6.0 new features that you should know!
  29. The C# 6.0 version contains many essential features which will improve productivity of developers. This article explains the most important nine C# 6.0 features with simple code examples.

  30. Whats new in C# 6.0
  31. C# 6.0 is around for a while but in the last couple weeks, I spoke with many programmers who don’t know anything about the new features. Therefore I want to present some of the new features in this post.

  32. What's New In C# 6.0?
  33. In this article I am going to describe the new features introduced in C# 6.0. If you haven’t download the Visual Studio 2015 please get it from below download button.