﻿<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/css' href='https://stocksharp.ru/css/style.css'?>
<?xml-stylesheet type='text/css' href='https://stocksharp.ru/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-04-30T15:51:47Z</updated>
  <logo>https://stocksharp.ru/images/logo.png</logo>
  <link href="https://stocksharp.ru/handlers/atom.ashx?category=topic&amp;id=2590" rel="self" type="application/rss+xml" />
  <entry>
    <id>https://stocksharp.ru/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.ru/users/709/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">Спасибо!</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/posts/m/18208/</id>
    <title type="text">public decimal? CurrentBestPrice { get; } знак вопроса после decimal - ошибка? http://msdn.microsoft...</title>
    <published>2012-04-13T09:21:55Z</published>
    <updated>2012-04-13T09:21:55Z</updated>
    <author>
      <name>Sergey Masyura</name>
      <uri>https://stocksharp.ru/users/701/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">&lt;div class="quote"&gt;&lt;span class="quotetitle"&gt;topic959 &lt;a href="https://stocksharp.ru/posts/m/18192/" class="quote_nav"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="innerquote"&gt;public decimal? CurrentBestPrice { get; }&lt;br /&gt;&lt;br /&gt;знак вопроса после decimal - ошибка?&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/1t3y8s4s.aspx?ppud=4
" title="http://msdn.microsoft.com/en-us/library/1t3y8s4s.aspx?ppud=4
"&gt;http://msdn.microsoft.co...ry/1t3y8s4s.aspx?ppud=4
&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Nullable types have the following characteristics:&lt;br /&gt;&lt;br /&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;br /&gt;&lt;br /&gt;The syntax T? is shorthand for Nullable(Of T), where T is a value type. The two forms are interchangeable.&lt;br /&gt;&lt;br /&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;br /&gt;&lt;br /&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;br /&gt;&lt;br /&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;br /&gt;&lt;br /&gt;The HasValue property returns true if the variable contains a value, or false if it is null.&lt;br /&gt;&lt;br /&gt;The Value property returns a value if one is assigned. Otherwise, a System.InvalidOperationException is thrown.&lt;br /&gt;&lt;br /&gt;The default value for HasValue is false. The Value property has no default value.&lt;br /&gt;&lt;br /&gt;You can also use the == and != operators with a nullable type, as shown in the following example: if (x != null) y = x;&lt;br /&gt;&lt;br /&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;br /&gt;&lt;br /&gt;Nested nullable types are not allowed. The following line will not compile: Nullable&amp;lt;Nullable&amp;lt;int&amp;gt;&amp;gt; n;</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/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.ru/users/808/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">decimal не может принимать значение null, а decimal? - может</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/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.ru/users/2826/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">нет</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
  <entry>
    <id>https://stocksharp.ru/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.ru/users/709/</uri>
      <email>info@stocksharp.ru</email>
    </author>
    <content type="html">public decimal? CurrentBestPrice { get; }&lt;br /&gt;&lt;br /&gt;знак вопроса после decimal - ошибка?</content>
    <rights type="html">Copyright @ StockSharp Platform LLC 2010 - 2025</rights>
  </entry>
</feed>