﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.com/css/bbeditor.css'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html">Assembly StockSharp.Algo.dll, v4.0.30319, QuotingStrategy</title>
  <id>~/topic/2590/assembly-stocksharp_algo_dll-v4_0_30319-quotingstrategy/</id>
  <rights type="text">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  <updated>2026-06-15T02:57:25Z</updated>
  <logo>https://stocksharp.com/images/logo.png</logo>
  <link href="https://stocksharp.com/handlers/atom.ashx?category=topic&amp;id=2590" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.com/posts/m/18211/</id>
    <title type="text">Спасибо! </title>
    <published>2012-04-13T11:02:43Z</published>
    <updated>2012-04-13T11:02:43Z</updated>
    <author>
      <name>SelfDeleted</name>
      <uri>https://stocksharp.com/users/709/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;Спасибо!&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/18208/</id>
    <title type="text">topic959: public decimal? CurrentBestPrice { get; } знак вопроса после decimal - ошибка? http://msdn...</title>
    <published>2012-04-13T09:21:55Z</published>
    <updated>2012-04-13T09:21:55Z</updated>
    <author>
      <name>Sergey Masyura</name>
      <uri>https://stocksharp.com/users/701/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="@message(18192)" rel="nofollow" target="_blank"&gt;topic959&lt;/a&gt;:&lt;/strong&gt;
public decimal? CurrentBestPrice { get; }&lt;/p&gt;
&lt;p&gt;знак вопроса после decimal - ошибка?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/1t3y8s4s.aspx?ppud=4" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/1t3y8s4s.aspx?ppud=4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Nullable types have the following characteristics:&lt;/p&gt;
&lt;p&gt;Nullable types represent value-type variables that can be assigned the value of null. You cannot create a nullable type based on a reference type. (Reference types already support the null value.)&lt;/p&gt;
&lt;p&gt;The syntax T? is shorthand for Nullable(Of T), where T is a value type. The two forms are interchangeable.&lt;/p&gt;
&lt;p&gt;Assign a value to a nullable type just as you would for an ordinary value type, for example int? x = 10; or double? d = 4.108. A nullable type can also be assigned the value null: int? x = null.&lt;/p&gt;
&lt;p&gt;Use the Nullable(Of T).GetValueOrDefault method to return either the assigned value, or the default value for the underlying type if the value is null, for example int j = x.GetValueOrDefault();&lt;/p&gt;
&lt;p&gt;Use the HasValue and Value read-only properties to test for null and retrieve the value, as shown in the following example: if(x.HasValue) j = x.Value;&lt;/p&gt;
&lt;p&gt;The HasValue property returns true if the variable contains a value, or false if it is null.&lt;/p&gt;
&lt;p&gt;The Value property returns a value if one is assigned. Otherwise, a System.InvalidOperationException is thrown.&lt;/p&gt;
&lt;p&gt;The default value for HasValue is false. The Value property has no default value.&lt;/p&gt;
&lt;p&gt;You can also use the == and != operators with a nullable type, as shown in the following example: if (x != null) y = x;&lt;/p&gt;
&lt;p&gt;Use the ?? operator to assign a default value that will be applied when a nullable type whose current value is null is assigned to a non-nullable type, for example int? x = null; int y = x ?? -1;&lt;/p&gt;
&lt;p&gt;Nested nullable types are not allowed. The following line will not compile: Nullable&amp;lt;Nullable&lt;int&gt;&amp;gt; n;&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/18205/</id>
    <title type="text">decimal не может принимать значение null, а decimal? - может </title>
    <published>2012-04-13T08:22:26Z</published>
    <updated>2012-04-13T08:22:26Z</updated>
    <author>
      <name>Кот Матроскин</name>
      <uri>https://stocksharp.com/users/808/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;decimal не может принимать значение null, а decimal? - может&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/18193/</id>
    <title type="text">нет </title>
    <published>2012-04-12T21:16:05Z</published>
    <updated>2012-04-12T21:16:05Z</updated>
    <author>
      <name>Alexander</name>
      <uri>https://stocksharp.com/users/2826/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;нет&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.com/posts/m/18192/</id>
    <title type="text">public decimal? CurrentBestPrice { get; } знак вопроса после decimal - ошибка? </title>
    <published>2012-04-12T21:00:26Z</published>
    <updated>2012-04-12T21:00:26Z</updated>
    <author>
      <name>SelfDeleted</name>
      <uri>https://stocksharp.com/users/709/</uri>
      <email>info@stocksharp.com</email>
    </author>
    <content type="html">&lt;p&gt;public decimal? CurrentBestPrice { get; }&lt;/p&gt;
&lt;p&gt;знак вопроса после decimal - ошибка?&lt;/p&gt;
</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>